- Home
- Skills
- Testing & Debugging
- QA Test Case Generator: Full Test Suite with Coverage Check
More screenshots
Works with the AI Agents you already use
QA Test Case Generator: Full Test Suite with Coverage Check
What a test suite misses matters more than what it lists.
$6.99
QA Test Case Generator: Full Test Suite with Coverage Check
Example session with this skill installed
Generate the test cases for this feature from the analyses in this folder, with the Excel file. Tester name: tester01.
Files: spec-gift-card.md (below), plus requirement-analysis/, risk-analysis/ and bug-hunter-analysis/ reports for it (each ends with a JSON Handoff block).
DemoShop – Redeem a gift card at checkout (ticket DS-482)
Context
DemoShop is an online store. Shoppers can pay part or all of an order with a gift card. Admins issue gift cards in the back office.
Rules
- GC-01: A gift card code is 16 characters: letters A–Z and digits, shown as XXXX-XXXX-XXXX-XXXX. Input is case-insensitive; dashes are optional.
- GC-02: Only logged-in shoppers can apply a gift card, on the checkout page, before clicking "Place order".
- GC-03: A card has a balance (USD, 2 decimals) and an expiry date. Expired cards are rejected with the message "This gift card has expired."
- GC-04: If the balance is lower than the order total, the balance is fully used and the rest is paid by credit card. If the balance is equal or higher, the order total becomes $0.00 and the remaining balance stays on the card.
- GC-05: At most 2 gift cards per order.
- GC-06: Wrong code → "Gift card not found." After 5 wrong codes in 10 minutes the field is locked for 15 minutes ("Too many attempts. Try again later.").
- GC-07: The balance is deducted only when the order is placed successfully. If payment of the remaining amount fails, nothing is deducted.
- GC-08: A shopper can remove an applied gift card before placing the order.
- GC-09: Cancelling an order within 24 hours returns the used amount to the same gift card (even if expired in the meantime, the expiry is extended by 30 days).
- GC-10: Admin back office: admins create cards (amount $5–$500, expiry 1–24 months) and can disable a card; a disabled card is rejected with "Gift card not found.".
UI copy
- Field label: "Gift card code"; button: "Apply"; applied line: "Gift card ••••-••••-••••-1234 −$25.00" with a "Remove" link.
- Read your context and instructions
- Compiled the qa test case
- Generated the UI component
Saved in test-cases/:
2026-11-28_20-54-33-redeem-gift-card-at-checkout.xlsx(117 cases, sheets Test Cases / Summary / Assumptions)…-coverage-report.md,…-traceability-matrix.md,….json
Verdict: CONDITIONAL PASS. Coverage is complete (12/12 requirements, 27/27 risks and bug hypotheses, every financial/security/bug-hypothesis risk at 100%); the condition is that 20 open assumptions (17.1% of the 117-case count, limit 10%) need PO/BA answers before execution. 55 of 117 cases (47%) are marked [ASSUMPTION].
Counts: 117 cases in 6 groups: CMS - Gift card management 21, Frontend - Apply gift card 23, Frontend - Wrong-code lockout 18, Frontend - Two-card limit and remove 15, Transaction - Pay with gift card at Place order 25, Transaction - Cancel order and return to gift card 15. P1 64 · P2 47 · P3 6. BVA 26 · EG 26 · EP 23 · DT 18 · CL 8 · UC 6 · ST 6 · EXP 4.
Assumptions to confirm first (High impact):
- ASM-001: with 2 cards, they are drawn in the order applied; on cancellation each card gets back exactly the amount taken from it
- ASM-002: the balance is not reserved at apply; it is re-checked at "Place order"
- ASM-003: "within 24 hours" is measured from order placement
- ASM-005: lockout is per shopper account, rolling 10-minute window, the 5th wrong code triggers the lock
- ASM-012: a 3rd card, the same card again, or a card when $0.00 is left to pay is not applied (message text not defined in the spec)
- ASM-015 / ASM-016: payment timeout handling, and Place order is atomic
- ASM-018: an order that used a gift card cannot be cancelled after 24 hours
(13 more Medium/Low assumptions are on the Assumptions sheet.)
Coverage Analysis Report
Requirements Coverage:
- P1: 7/7 (100.0%) -> PASS
- P2: 4/4 (100.0%) -> PASS
- P3: 1/1 (100.0%) -> PASS
Risk Coverage:
- P1 Risks: 11/11 (100.0%) -> PASS
- P2 Risks: 13/13 (100.0%) -> PASS
- P3 Risks: 3/3 (100.0%) -> PASS
- Bug Hypothesis Risks: 15/15 (100.0%) -> PASS (mandatory 100%)
- Financial Risks: 9/9 (100.0%) -> PASS (mandatory 100%)
- Security Risks: 2/2 (100.0%) -> PASS (mandatory 100%)
Technique Application:
- CMS - Gift card management (P1): 7 techniques ['BVA', 'CL', 'DT', 'EG', 'EP', 'ST', 'UC'] -> PASS (need >= 6)
- Frontend - Apply gift card (P1): 7 techniques ['BVA', 'CL', 'DT', 'EG', 'EP', 'EXP', 'UC'] -> PASS (need >= 6)
- Frontend - Wrong-code lockout (P1): 8 techniques ['BVA', 'CL', 'DT', 'EG', 'EP', 'EXP', 'ST', 'UC'] -> PASS (need >= 6)
- Frontend - Two-card limit and remove (P2): 6 techniques ['BVA', 'CL', 'DT', 'EG', 'EP', 'UC'] -> PASS (need >= 4)
- Transaction - Pay with gift card at Place order (P1): 8 techniques ['BVA', 'CL', 'DT', 'EG', 'EP', 'EXP', 'ST', 'UC'] -> PASS (need >= 6)
- Transaction - Cancel order and return to gift card (P1): 7 techniques ['BVA', 'DT', 'EG', 'EP', 'EXP', 'ST', 'UC'] -> PASS (need >= 6)
Coverage Summary Table 1: Test types per feature
| Feature | Priority | Test types | Count | Min | Status |
|---|---|---|---|---|---|
| CMS - Gift card management | P1 | BL, DI, EC, FN, NEG, PM, SEC, ST, UI | 9 | 6 | PASS |
| Frontend - Apply gift card | P1 | BL, DI, EC, FN, NEG, PM, SEC, UI | 8 | 6 | PASS |
| Frontend - Wrong-code lockout | P1 | BL, DI, EC, FN, NEG, PM, SEC, ST, UI | 9 | 6 | PASS |
| Frontend - Two-card limit and remove | P2 | BL, DI, EC, FN, NEG, SEC, UI | 7 | 4 | PASS |
| Transaction - Pay with gift card at Place order | P1 | BL, CN, DI, EC, FN, IT, NEG, PM, SEC, ST, UI | 11 | 6 | PASS |
| Transaction - Cancel order and return to gift card | P1 | BL, CN, DI, EC, FN, NEG, PM, SEC, ST | 9 | 6 | PASS |
Coverage Summary Table 2: Techniques per feature
| Feature | Priority | Techniques | Count | Min | Status |
|---|---|---|---|---|---|
| CMS - Gift card management | P1 | BVA, CL, DT, EG, EP, ST, UC | 7 | 6 | PASS |
| Frontend - Apply gift card | P1 | BVA, CL, DT, EG, EP, EXP, UC | 7 | 6 | PASS |
| Frontend - Wrong-code lockout | P1 | BVA, CL, DT, EG, EP, EXP, ST, UC | 8 | 6 | PASS |
| Frontend - Two-card limit and remove | P2 | BVA, CL, DT, EG, EP, UC | 6 | 4 | PASS |
| Transaction - Pay with gift card at Place order | P1 | BVA, CL, DT, EG, EP, EXP, ST, UC | 8 | 6 | PASS |
| Transaction - Cancel order and return to gift card | P1 | BVA, DT, EG, EP, EXP, ST, UC | 7 | 6 | PASS |
Quality Metrics:
- Technique tags present: 117/117 (100.0%)
- Priorities present: 117/117 (100.0%)
- Duplicate test cases (same technique + objective): 0
- Open assumptions (not Confirmed/Rejected/Modified): 20/117 (17.1%, total listed: 21, naming-only not counted: 1)
- Test cases marked [ASSUMPTION]: 55/117 (47.0%)
- BUG IDs cited but not tracked in 'risks' (e.g. Medium hypotheses): BUG-016, BUG-017
Overall Verdict: CONDITIONAL PASS
Conditional items (need documented justification / approval):
- Open assumptions 17.1% > 10.0% - get PO/BA answers before execution (do not add test cases just to lower this ratio)
Requirement Traceability Matrix
| Requirement ID | Priority | Covered By | Status |
|---|---|---|---|
| REQ-001 | P2 | GC-ADM-020, GC-APL-003, GC-APL-004, GC-APL-005, GC-APL-006, GC-APL-011, GC-APL-013, GC-APL-014, GC-APL-021, GC-APL-022, GC-APL-023, GC-LCK-005, GC-MUL-012 | OK |
| REQ-002 | P1 | GC-APL-001, GC-APL-017, GC-APL-018, GC-APL-019, GC-APL-020, GC-LCK-016, GC-PAY-015 | OK |
| REQ-003 | P1 | GC-APL-006, GC-APL-007, GC-APL-009, GC-APL-015, GC-APL-016, GC-LCK-004, GC-PAY-011 | OK |
| REQ-004 | P1 | GC-ADM-003, GC-APL-003, GC-APL-012, GC-MUL-002, GC-MUL-004, GC-MUL-008, GC-MUL-009, GC-PAY-001, GC-PAY-002, GC-PAY-003, GC-PAY-005, GC-PAY-006, GC-PAY-009, GC-PAY-012, GC-PAY-013, GC-PAY-014, GC-PAY-016, GC-PAY-017, GC-PAY-020, GC-PAY-021, GC-PAY-025, GC-CAN-002 | OK |
| REQ-005 | P2 | GC-MUL-001, GC-MUL-002, GC-MUL-004, GC-MUL-005, GC-MUL-006, GC-MUL-007, GC-MUL-008, GC-MUL-009, GC-MUL-012, GC-MUL-013, GC-MUL-014, GC-PAY-005, GC-PAY-008, GC-CAN-006 | OK |
| REQ-006 | P1 | GC-APL-010, GC-APL-011, GC-LCK-001, GC-LCK-002, GC-LCK-003, GC-LCK-004, GC-LCK-005, GC-LCK-006, GC-LCK-007, GC-LCK-008, GC-LCK-009, GC-LCK-010, GC-LCK-011, GC-LCK-012, GC-LCK-013, GC-LCK-014, GC-LCK-015, GC-LCK-016, GC-LCK-017, GC-LCK-018 | OK |
| REQ-007 | P1 | GC-MUL-011, GC-PAY-002, GC-PAY-003, GC-PAY-004, GC-PAY-005, GC-PAY-006, GC-PAY-007, GC-PAY-008, GC-PAY-010, GC-PAY-011, GC-PAY-012, GC-PAY-015, GC-PAY-017, GC-PAY-018, GC-PAY-019, GC-PAY-022, GC-PAY-023, GC-PAY-024 | OK |
| REQ-008 | P2 | GC-MUL-003, GC-MUL-005, GC-MUL-010, GC-MUL-011, GC-MUL-015 | OK |
| REQ-009 | P1 | GC-CAN-001, GC-CAN-002, GC-CAN-003, GC-CAN-004, GC-CAN-005, GC-CAN-006, GC-CAN-007, GC-CAN-008, GC-CAN-009, GC-CAN-010, GC-CAN-011, GC-CAN-012, GC-CAN-013, GC-CAN-014, GC-CAN-015 | OK |
| REQ-010 | P2 | GC-ADM-001, GC-ADM-002, GC-ADM-003, GC-ADM-005, GC-ADM-006, GC-ADM-007, GC-ADM-008, GC-ADM-009, GC-ADM-010, GC-ADM-011, GC-ADM-012, GC-ADM-013, GC-ADM-014, GC-ADM-015, GC-ADM-016, GC-ADM-017, GC-ADM-018, GC-ADM-019, GC-ADM-020, GC-ADM-021 | OK |
| REQ-011 | P1 | GC-ADM-004, GC-ADM-019, GC-APL-008, GC-APL-009, GC-LCK-003, GC-PAY-010 | OK |
| REQ-012 | P3 | GC-APL-002, GC-MUL-001 | OK |
Risk Traceability Matrix
| Risk ID | Priority | Covered By | Status |
|---|---|---|---|
| R-001 | P1 | GC-PAY-002, GC-PAY-003, GC-PAY-005, GC-PAY-007, GC-PAY-008, GC-PAY-009, GC-PAY-015, GC-PAY-018, GC-PAY-019, GC-PAY-022, GC-PAY-023, GC-PAY-024 | OK |
| R-002 | P1 | GC-PAY-012, GC-PAY-017, GC-PAY-018, GC-PAY-019 | OK |
| R-003 | P1 | GC-CAN-001, GC-CAN-002, GC-CAN-003, GC-CAN-004, GC-CAN-005, GC-CAN-006, GC-CAN-007, GC-CAN-008, GC-CAN-009, GC-CAN-010, GC-CAN-011, GC-CAN-012, GC-CAN-013, GC-CAN-014, GC-CAN-015 | OK |
| R-004 | P2 | GC-APL-003, GC-APL-012, GC-MUL-002, GC-MUL-004, GC-MUL-008, GC-MUL-009, GC-PAY-001, GC-PAY-002, GC-PAY-003, GC-PAY-005, GC-PAY-006, GC-PAY-013, GC-PAY-014, GC-PAY-016, GC-PAY-020, GC-PAY-021, GC-PAY-025 | OK |
| R-005 | P2 | GC-LCK-001, GC-LCK-002, GC-LCK-003, GC-LCK-004, GC-LCK-005, GC-LCK-006, GC-LCK-007, GC-LCK-008, GC-LCK-009, GC-LCK-010, GC-LCK-011, GC-LCK-012, GC-LCK-013, GC-LCK-014, GC-LCK-015, GC-LCK-016, GC-LCK-017, GC-LCK-018 | OK |
| R-006 | P2 | GC-ADM-004, GC-APL-006, GC-APL-007, GC-APL-008, GC-APL-009, GC-APL-015, GC-APL-016, GC-PAY-010, GC-PAY-011 | OK |
| R-007 | P2 | GC-MUL-001, GC-MUL-002, GC-MUL-006, GC-MUL-007, GC-MUL-008, GC-MUL-012, GC-MUL-013, GC-MUL-014 | OK |
| R-008 | P2 | GC-APL-001, GC-APL-017, GC-APL-018, GC-APL-019, GC-APL-020, GC-LCK-016, GC-PAY-015 | OK |
| R-009 | P2 | GC-PAY-004, GC-PAY-025, GC-CAN-007 | OK |
| R-010 | P3 | GC-ADM-001, GC-ADM-002, GC-ADM-003, GC-ADM-005, GC-ADM-006, GC-ADM-007, GC-ADM-008, GC-ADM-009, GC-ADM-010, GC-ADM-011, GC-ADM-012, GC-ADM-013, GC-ADM-014, GC-ADM-015, GC-ADM-016, GC-ADM-017, GC-ADM-018, GC-ADM-019, GC-ADM-020, GC-ADM-021 | OK |
| R-011 | P3 | GC-MUL-003, GC-MUL-005, GC-MUL-010, GC-MUL-011, GC-MUL-015 | OK |
| R-012 | P3 | GC-APL-003, GC-APL-004, GC-APL-005, GC-APL-010, GC-APL-011, GC-APL-013, GC-APL-014, GC-APL-021, GC-APL-022, GC-APL-023, GC-MUL-012 | OK |
| BUG-001 | P1 | GC-PAY-017 | OK |
| BUG-002 | P1 | GC-PAY-018, GC-PAY-019 | OK |
| BUG-003 | P1 | GC-MUL-012 | OK |
| BUG-004 | P1 | GC-PAY-020, GC-PAY-021 | OK |
| BUG-005 | P1 | GC-PAY-022, GC-PAY-023 | OK |
| BUG-006 | P1 | GC-PAY-024 | OK |
| BUG-007 | P1 | GC-CAN-005 | OK |
| BUG-008 | P1 | GC-LCK-015, GC-LCK-016, GC-LCK-017, GC-LCK-018 | OK |
| BUG-009 | P2 | GC-PAY-010, GC-PAY-011 | OK |
| BUG-010 | P2 | GC-CAN-013 | OK |
| BUG-011 | P2 | GC-CAN-006 | OK |
| BUG-012 | P2 | GC-MUL-008 | OK |
| BUG-013 | P2 | GC-PAY-015 | OK |
| BUG-014 | P2 | GC-ADM-021 | OK |
| BUG-015 | P2 | GC-CAN-007, GC-CAN-010 | OK |
Next steps
- Send the High-impact assumptions to the PO/BA; update the cases with the answers and re-run the coverage check.
- Execute the workbook: fill Actual result, Status, Bug ID, Notes and Tester as you go.
2026-11-28_20-54-33-redeem-gift-card-at-checkout.xlsx
TSX · React component
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
What a test suite misses matters more than what it lists. Test Case Generator designs the whole suite the way a senior test designer would, then checks it: requirements and risks are traced to cases, coverage is computed by a script, and gaps are named instead of hidden.
What it does
- Designs with 9 techniques: Equivalence Partitioning, Boundary Values, Decision Tables, State Transitions, Use Cases, Pairwise, Error Guessing, Checklists and Exploratory charters, each case tagged (
[EP],[BVA]…). - Covers every side of a feature: for each module it asks what happens on the Admin/CMS side, the user-facing side and the transaction side, then writes cases in a fixed order: UI, happy path, business logic, negative, boundary, permission, DB checks, security, edge cases.
- Makes every case executable: its own precondition, concrete test data, numbered steps and a measurable expected result (UI, API and DB where they apply), with the spec's messages quoted word for word.
- Checks coverage with a bundled script: techniques and test types per feature, open assumptions, duplicates and, when requirement/risk IDs are given, requirement and risk coverage per priority. Verdict PASS / CONDITIONAL PASS / FAIL with the exact reasons. Risks tagged security, financial, data integrity or bug hypothesis need 100%.
- Exports a formatted Excel workbook: cases grouped as "I.", "II.", 16 columns (Requirement and Risk/Bug included), a Status dropdown, plus Summary and Assumptions sheets.
- Is honest about gaps: what the spec does not say becomes a numbered assumption (
ASM-xxx) and the case is marked[ASSUMPTION]; it never invents a limit or a message. If the spec is too vague, it creates no file and first asks up to 3 questions; if you cannot answer, it continues from clearly marked assumptions. - Updates an existing suite when the spec changes, instead of starting over.
Why use this skill
Asking an agent for test cases gives a list that looks complete until someone asks "which requirement does this cover?" or "what about the refund path?". This skill makes coverage measurable: a traceability matrix and a coverage report you can show a QA lead, and an Excel file your team can execute the same day.
Works with upstream analyses (optional)
It runs from a raw spec alone; coverage is then checked per feature (techniques and test types). For a traceability matrix and requirement/risk coverage it needs IDs: a requirement analysis (REQ-xxx, ASM-xxx), a risk analysis (R-xxx) or bug hypotheses (BUG-xxx). Output with a JSON Handoff block, from companion analysis skills available separately, is reused as-is, with its IDs and priorities kept; P1 risks and every security, financial, data-integrity or bug-hypothesis entry must then be covered by at least one case.
Free version vs. this skill
The free QA Quick Test Cases skill writes a practical base set (Positive / Negative / Boundary / Security) for one user story. Test Case Generator is for when the suite must stand up to review: technique-driven design, traceability to requirements and risks, a computed coverage verdict and a 16-column workbook.
Use cases
- Designing the full regression or acceptance suite for a new feature
- Proving coverage to a QA lead or auditor: every requirement and risk traced to cases
- Turning a requirement analysis, risk list and bug hypotheses into covering test cases
- Testing payment, promotion, account or other high-risk flows where every business rule matters
- Updating an existing suite after a spec change
Output
Saved in test-cases/ (or a folder you name) with one prefix yyyy-mm-dd_hh-mm-ss-<feature>:
.xlsx: the deliverable (sheets Test Cases and Summary, plus Assumptions when the spec leaves gaps)-coverage-report.md, and-traceability-matrix.mdwhen requirement/risk IDs are given: computed by the script.json: the source of both, kept for later updates
The chat reply stays short: paths, verdict with reasons, counts and the assumptions to confirm with the PO/BA.
Requirements
An agent that can run local Python scripts and write files; Python 3.8+, and openpyxl for the Excel export (no network, no other files needed).
Language
Written in English; answers and test case text in the language you use (English or Vietnamese). Technique tags, IDs, priorities and statuses stay in English. The coverage report, traceability matrix and sheet names are always in English.
License
For your personal use under the Agensi license; please do not redistribute or resell.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.
- It designs from what you give it (spec, analyses, mockups). It does not read your codebase, app or tracker, and it does not run the tests.
- A thorough suite is large: a feature with several business rules often gives 50–150 cases. For a quick base set, a lighter skill fits better.
- Requirement and risk coverage and the traceability matrix need requirement/risk IDs (REQ-xxx, R-xxx), e.g. from a separate analysis; from a raw spec alone, coverage is checked per feature (techniques and test types) only.
- Coverage is computed against the requirements, risks and features listed in the JSON; something the spec never mentions cannot be measured.
- When the spec leaves rules open, many cases rest on assumptions. They are marked and counted (the verdict drops to CONDITIONAL PASS or FAIL), but someone still has to confirm them with the PO/BA.
- If more than 80% of the cases rest on assumptions, the verdict is FAIL and it stops before the Excel export to ask for the missing values (it exports only if you insist).
- The Excel layout is fixed (16 columns, labels in English or Vietnamese); it does not fill in an existing company template.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
- Software
Python 3.8+openpyxl
Permissions
File Scopes
Terminal: runs the bundled coverage and Excel scripts. Read Files: the spec and analyses you point to. Write Files: the .json, .md reports and .xlsx in test-cases/ (or the folder you name), plus a temporary script copy that is deleted after use. The scripts make no network calls; if openpyxl is missing, the agent asks before running pip install, which downloads it.