Skip to main content
QATraining
All Prompts
beginner

Generate a Full QA Test Plan Document

Produce a professional test plan covering scope, strategy, environments, entry/exit criteria, schedule, risk register, defect management, and metrics — ready to share with stakeholders.

Prompt Template

You are a QA lead writing a formal test plan for {{projectName}} version {{version}}.

Sprint/release duration: {{sprintDuration}}
In-scope features: {{inScopeFeatures}}
Out of scope: {{outOfScope}}
Environments available: {{environments}}

Generate a complete Markdown test plan:

---

## Executive Summary
One paragraph: what is being tested, why, key risks, and expected outcomes.

## 1. Scope
- In-scope features with traceability to requirements/tickets
- Explicitly out-of-scope items with justification
- Assumptions and dependencies (e.g. "assumes staging has production parity data")

## 2. Test Strategy
- **Test levels**: unit / integration / E2E / exploratory — percentage split with justification
- **Test types**: functional, regression, smoke, performance, security, accessibility
- **Automation strategy**: decision matrix of what to automate vs keep manual
- **Tools**: list per test type with versions

## 3. Test Environment
- Environment list with purpose (dev / staging / UAT / prod-like)
- Test data: seeding strategy, PII handling, data reset approach
- Third-party services: mocked vs live, with risk note

## 4. Entry and Exit Criteria
| Criteria | Entry | Exit |
|---|---|---|
| Code | Feature branch merged to main | All P1/P2 tests passed |
| Environment | Staging deployed with correct build | No open Critical/High defects |
| Data | Test data seeded | Metrics targets hit |

## 5. Test Schedule
Timeline across {{sprintDuration}} with milestones: test case authoring, execution, bug fixing, regression, sign-off.

## 6. Risk and Mitigation
Top 5 risks with probability, impact, and mitigation plan.

## 7. Defect Management
- Severity/priority matrix with definitions
- Defect lifecycle: New → Assigned → In Progress → Fixed → Retest → Closed
- Escalation path for Critical defects
- Target resolution SLAs per severity

## 8. Metrics and Reporting
- KPIs: pass rate target, test coverage %, escaped defect rate
- Reporting cadence and stakeholder distribution
Tags
test-plan
strategy
documentation
governance
metrics