Generate Test Cases and Testing Documentation
Create complete, traceable test cases and supporting QA documents including RTM, execution checklist, and test summary report templates.
Who this is for
QA analysts and manual testers who need to generate structured test cases from user stories, acceptance criteria, or feature descriptions — especially useful when time is limited and coverage needs to be comprehensive.
Prompt Template
You are a senior QA lead preparing test cases and documentation for {{projectName}}.
Release/Sprint: {{releaseName}}
Requirements source: {{requirementsSource}} (Jira, PRD, user stories, BRD)
In-scope features: {{inScopeFeatures}}
Out-of-scope items: {{outOfScope}}
Test levels needed: {{testLevels}} (smoke, functional, integration, regression, UAT)
Generate the following in Markdown:
## 1. Test Scenario List
- High-level scenarios grouped by feature/module
- Priority per scenario (High/Medium/Low)
- Risk note for each scenario
## 2. Detailed Test Cases Table
Create a table with columns:
| TC ID | Requirement ID | Module | Title | Preconditions | Test Steps | Test Data | Expected Result | Priority | Type (Positive/Negative) |
Rules:
- Include both positive and negative cases
- Include boundary-value and validation checks where relevant
- Use deterministic, reproducible steps
- Link each case to a requirement ID for traceability
## 3. Requirements Traceability Matrix (RTM)
Create a matrix mapping requirement IDs to test case IDs and coverage status (Covered / Partial / Gap).
Highlight uncovered requirements.
## 4. Test Execution Checklist
- Environment readiness checklist
- Test data readiness checklist
- Build verification checklist
- Entry criteria and exit criteria
## 5. Test Summary Report Template
Include sections for:
- Scope tested
- Build/version details
- Execution results (Pass/Fail/Blocked/Not Run)
- Defect summary by severity
- Top risks and recommendations
- Go/No-Go recommendation with rationale
Formatting constraints:
- Keep IDs consistent (REQ-001, TC-001 style)
- Use concise, unambiguous wording
- Ensure every requirement in {{requirementsSource}} appears in RTM
- Add assumptions and dependencies explicitlyHow to use this prompt
- 1Copy the prompt and paste your user story, feature description, or acceptance criteria.
- 2Specify the level of detail you need: high-level scenarios, detailed test cases with steps, or BDD Gherkin format.
- 3The AI generates a structured test case set with positive paths, negative paths, and edge cases.
- 4Review and refine the test cases — remove duplicates and add any domain-specific scenarios you know are important.
- 5Import the test cases into your test management tool (Jira, TestRail, qTest, etc.).
Example output
For a 'User can update their profile picture' user story, the prompt generates 12 test cases: valid JPEG upload, valid PNG upload, valid WEBP upload, oversized file rejection (>5 MB), invalid file type rejection (PDF, EXE), empty file rejection, successful crop and save, crop cancellation, slow network upload, concurrent update handling, profile picture reflected in navbar, and profile picture visible to other users.
Limitations
- Generated test cases are a starting matrix — supplement with exploratory testing for UX and edge cases specific to your application.
- The prompt does not know your test management tool's format — you may need to reformat the output to match TestRail's step format or Jira's structured fields.
- Very complex or multi-system features may need to be broken into smaller user stories for the best coverage output.
Related tools
Related guides
Frequently asked questions
Can I generate Gherkin / BDD format test cases?v
Yes — specify 'BDD Gherkin format' in your input and the prompt generates Given/When/Then scenarios that can be pasted directly into `.feature` files for Cucumber, Behave, or SpecFlow.
How detailed should the test steps be?v
For manual testing documentation, detailed steps (click X, enter Y, verify Z) are more useful. For automation, higher-level scenario descriptions are a better starting point. Specify your preference in the input.
Can I use this for regression test documentation?v
Yes — paste your existing feature list or module names and the prompt generates a regression test suite baseline that you can add to your test management tool for each release cycle.