Test Plan Template
Practical feature or release test plan: scope, risks, approach per level, cases, environments, entry/exit criteria
How to use: Use it for a single feature or release; for a full ISO/IEC/IEEE 29119-3 project plan use quality/test-plan-29119. Fill the risks first and link each test case to a risk or requirement. The main pitfall is exit criteria that are not measurable, which turns the release decision into a debate.
Preview
Test Plan: [Feature or release name]
Practical test plan for one feature or release: scope, risks, approach per test level, test case summary, environments and data, entry and exit criteria, schedule, roles and reporting. Based on common testing practice. For a complete project test plan aligned with ISO/IEC/IEEE 29119-3, use the Test Plan (ISO/IEC/IEEE 29119-3) template in
quality/test-plan-29119.
| Field | Value |
|---|---|
| Plan ID | [TP-FEATURE-001] |
| Feature or release | [Name, version or sprint] |
| Version | [0.1] |
| Status | [Draft / Active / Complete] |
| Author | [@qa] |
| Reviewers | [@dev-lead, @product-owner] |
| Date | YYYY-MM-DD |
| Related | [Ticket or epic, specification, design, project test plan] |
1. Scope
This plan covers testing of [feature or release] before release to [production / beta users] on [target date].
In scope
| ID | Item | Notes |
|---|---|---|
| S-01 | Example: PDF export of documents up to 500 pages | New feature |
| S-02 | Example: Export options dialog | New UI, keyboard and screen reader support |
| S-03 | Example: Existing HTML export | Regression only |
| S-04 | [Item] | [Notes] |
Out of scope
| Item | Reason |
|---|---|
| Example: Export on legacy browser versions | Not supported in this release |
| Example: Load testing of the export service | Client-side only; no server component |
| [Item] | [Reason] |
2. Risks
| Risk ID | Risk | Type | Likelihood | Impact | Treatment in this plan |
|---|---|---|---|---|---|
| R-01 | Example: Math and diagrams render differently in PDF than in preview | Product | High | High | Visual comparison tests TC-05 to TC-08 |
| R-02 | Example: Export of very large documents freezes the tab | Product | Medium | High | Performance check TC-10, budget 10 s for 500 pages |
| R-03 | Example: Dialog not usable with keyboard only | Product | Medium | Medium | Accessibility tests TC-12, TC-13 |
| R-04 | Example: Test environment shared with another team | Project | Medium | Medium | Book slots; fallback to local builds |
| R-05 | [Risk] | [Product / Project] | [L] | [I] | [Treatment] |
3. Approach per test level
| Level | Focus | Technique | Automation | Tools | Owner |
|---|---|---|---|---|---|
| Unit | Layout and pagination logic | Equivalence partitioning, boundary values | Automated | [Vitest] | Developers |
| Integration | Renderer to export pipeline | Interface tests | Automated | [Vitest, jsdom] | Developers |
| System / end to end | User journeys in real browsers | Scenario-based | Automated | [Playwright] | QA |
| Exploratory | Unusual documents, edge content | Session-based, 60 min charters | Manual | Charter notes | QA |
| Accessibility | Dialog, focus order, labels | Checklist plus automated scan | Mixed | [axe-core, screen reader] | QA |
| Performance | Export time and memory | Benchmark on reference device | Automated | [Script] | Developers |
| Regression | Existing export and preview | Existing suite | Automated | CI | CI |
| Acceptance | Fit for purpose | Demo and review against criteria | Manual | n/a | Product owner |
4. Test cases summary
| ID | Title | Level | Covers | Priority | Expected result | Status |
|---|---|---|---|---|---|---|
| TC-01 | Example: Export a 10-page document with default options | System | S-01 | P0 | PDF downloads, 10 pages, text selectable | [Not run / Pass / Fail / Blocked] |
| TC-05 | Example: KaTeX display formula in PDF matches preview | System | R-01 | P0 | Visual diff below 1% of pixels | [Status] |
| TC-10 | Example: Export a 500-page document | Performance | R-02 | P1 | Completes within 10 s, tab responsive | [Status] |
| TC-12 | Example: Complete export dialog with keyboard only | Accessibility | R-03 | P1 | All controls reachable, focus visible | [Status] |
| TC-20 | Example: HTML export unchanged | Regression | S-03 | P1 | Existing suite green | [Status] |
| TC-NN | [Title] | [Level] | [Requirement or risk] | [P0-P3] | [Expected] | [Status] |
Priority: P0 must pass to release, P1 should pass or have an accepted workaround, P2 and P3 are run if time allows.
5. Environments and test data
| Environment | Configuration | Purpose | Owner |
|---|---|---|---|
| CI | [Headless Chromium, Firefox, WebKit on Linux] | Automated levels | [@devops] |
| Staging | [URL, build from release branch] | End to end, exploratory | [@qa] |
| Devices | [Windows laptop, macOS, iPad, Android phone] | Cross-device checks | [@qa] |
Test data: [synthetic documents in tests/fixtures/export/: 1, 10,
100 and 500 pages; documents with tables, math, Mermaid diagrams, images,
right-to-left text and CJK characters]. Data is versioned with the tests
and reset before each run.
6. Entry and exit criteria
Entry criteria
- Feature complete and merged to the release branch; build deploys to staging.
- Smoke test passes.
- Test data and environments ready.
- Acceptance criteria agreed with the product owner.
Exit criteria
| Criterion | Target |
|---|---|
| P0 test cases executed and passed | 100% |
| P1 test cases passed or with accepted workaround | At least 95% |
| Open defects of severity Critical or High | 0 |
| Regression suite | Green on all supported browsers |
| Accessibility scan | No serious or critical violations |
| Performance budget | Met for TC-10 |
7. Schedule
| Milestone | Date | Dependency | Owner |
|---|---|---|---|
| Test plan reviewed | YYYY-MM-DD | Feature specification | [@qa] |
| Automated tests ready | YYYY-MM-DD | Feature branch | [@dev] |
| Build on staging | YYYY-MM-DD | Code freeze | [@dev-lead] |
| Execution complete | YYYY-MM-DD | Build on staging | [@qa] |
| Go/no-go | YYYY-MM-DD | Test report | [@product-owner] |
8. Roles and responsibilities
| Role | Person | Responsibilities |
|---|---|---|
| QA owner | [@name] | Plan, exploratory testing, report |
| Developers | [@name, @name] | Unit, integration and performance tests; defect fixes |
| Product owner | [@name] | Acceptance, priority of defects, release decision |
| Accessibility reviewer | [@name] | Screen reader and keyboard review |
9. Defect management
Defects are logged in [tracker] with steps, expected and actual result, environment and severity. Severity: Critical (data loss, no workaround), High (major function broken), Medium (workaround exists), Low (cosmetic). Fixed defects are retested by the reporter and covered by a regression test where practical.
| ID | Summary | Severity | Linked test | Status |
|---|---|---|---|---|
| BUG-[NNN] | Example: Mermaid diagram cut at page break | High | TC-06 | [Open / Fixed / Verified] |
10. Reporting
- Daily during execution: progress by priority (planned, run, passed, failed, blocked) and new defects, in [channel].
- Go/no-go: summary against the exit criteria, open defects, residual risks and a recommendation.
- After release: escaped defects in the first [14] days, used to improve the next plan.
| Date | Planned | Run | Passed | Failed | Blocked | Open Critical/High |
|---|---|---|---|---|---|---|
| YYYY-MM-DD | [N] | [N] | [N] | [N] | [N] | [N] |
Standard and licence note
Based on common software testing practice for feature and release test
plans (risk-based testing, test levels, entry and exit criteria). For a
plan structured on ISO/IEC/IEEE 29119-3, see quality/test-plan-29119.
No text from any standard is reproduced. Template licence: MIT.
Related templates
Migration Plan Template
System or data migration: strategy, phases, data mapping, reconciliation, cutover runbook, rollback, decommissioning
Software & EngineeringSoftware Development Plan Template (MIL-STD-498 SDP)
SDP per DI-IPSC-81427: process, methods, standards, reuse, critical requirements, per-activity plans, schedule, organisation
Software & EngineeringSoftware Maintenance Plan Template (ISO/IEC/IEEE 14764)
Maintenance concept, types, organisation, request process, metrics (backlog, MTTR), SLAs, CM, transition, budget, retirement