List qa tests

From jpoutrin/product-forge · View interactive version

List qa tests is an AI agent skill from the GitHub repository jpoutrin/product-forge. List QA test procedures with status and priority

How to use this skill

Skill file

list-qa-tests

Category: Quality Assurance

Usage

list-qa-tests [--status <status>] [--priority <priority>] [--format <format>]

Arguments

Execution Instructions for Claude Code

When this command is run, Claude Code should:

  1. Scan QA Test Directories

```

qa-tests/

├── draft/ → Status: DRAFT

├── active/ → Status: ACTIVE

├── executed/ → Status: EXECUTED

└── archived/ → Status: ARCHIVED

```

  1. Parse Each QA Test File
  1. Apply Filters
  1. Calculate Metrics
  1. Format and Display Results

Output Formats

Table Format (default)

QA Tests - Found 8 tests

Status   | Priority | Test ID              | Feature        | Cases | Last Run   | Result
---------|----------|----------------------|----------------|-------|------------|--------
ACTIVE   | Critical | QA-20250105-001      | user-login     | 5     | -          | -
ACTIVE   | High     | QA-20250104-002      | checkout       | 8     | -          | -
EXECUTED | Critical | QA-20250103-001      | payment        | 6     | 2025-01-04 | PASS
EXECUTED | Medium   | QA-20250102-003      | search         | 4     | 2025-01-03 | FAIL
DRAFT    | Low      | QA-20250105-002      | preferences    | 2     | -          | -

Summary:
- Draft: 1 | Active: 2 | Executed: 2 | Archived: 0
- Critical: 2 | High: 1 | Medium: 1 | Low: 1

List Format

📋 QA Tests - 8 total

🟢 ACTIVE (2 tests)

   ⚠️  QA-20250105-001-user-login.md [Critical]
       Feature: User Login Flow
       Cases: 3 TC + 2 EC | Est: 15 min
       Location: qa-tests/active/

   📄 QA-20250104-002-checkout.md [High]
       Feature: Checkout Process
       Cases: 6 TC + 2 EC | Est: 30 min
       Location: qa-tests/active/

✅ EXECUTED (2 tests)

   ✓ QA-20250103-001-payment.md [Critical] - PASS
       Last run: 2025-01-04 by Jane
       Issues: None

   ✗ QA-20250102-003-search.md [Medium] - FAIL
       Last run: 2025-01-03 by John
       Issues: #123, #124

📝 DRAFT (1 test)

   📄 QA-20250105-002-preferences.md [Low]
       Feature: User Preferences
       Cases: 2 TC | Est: 10 min

JSON Format

{
  "total": 8,
  "summary": {
    "by_status": {
      "draft": 1,
      "active": 2,
      "executed": 2,
      "archived": 3
    },
    "by_priority": {
      "critical": 2,
      "high": 1,
      "medium": 1,
      "low": 1
    }
  },
  "tests": [
    {
      "test_id": "QA-20250105-001",
      "file": "qa-tests/active/QA-20250105-001-user-login.md",
      "feature": "user-login",
      "status": "active",
      "priority": "critical",
      "test_cases": 3,
      "edge_cases": 2,
      "estimated_time": 15,
      "last_execution": null
    }
  ]
}

Examples

# List all QA tests
list-qa-tests

# List only active tests
list-qa-tests --status active

# List critical and high priority tests
list-qa-tests --priority critical
list-qa-tests --priority high

# List executed tests in list format
list-qa-tests --status executed --format list

# Export all tests as JSON
list-qa-tests --format json

Error Handling

Metrics Displayed

| Metric | Description |

|--------|-------------|

| Cases | Number of test cases (TC-###) |

| Edge Cases | Number of edge cases (EC-###) |

| Est Time | Estimated execution time from metadata |

| Last Run | Date of last execution (from execution log) |

| Result | Last execution result (PASS/FAIL) |

| Issues | Linked issue numbers from execution log |

Integration with PRD Traceability

When listing tests, optionally show PRD links:

list-qa-tests --show-prd

Adds column showing which PRD requirements each test covers.

Related Commands

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.