Test Strategy Template (ISO/IEC/IEEE 29119-3)
Organisational or project test strategy: risk register, test levels and types, techniques, criteria, automation, defects, metrics
Cómo usar: Use it to set testing rules for an organisation or project before writing test plans. Fill the risk register in section 3 first, because levels, techniques and criteria should point back to risk IDs. The main pitfall is putting dates and names here; those belong in the test plan.
Vista previa
Test Strategy: [Organisation, programme or project name]
Complete test strategy for an organisation, programme or project. The structure follows the test strategy concepts of ISO/IEC/IEEE 29119-3 (organisational test strategy and the strategy part of a project test plan). Replace every
[bracketed]value and every row marked Example, then remove what does not apply and record why in section 13.
Document control
| Field | Value |
|---|---|
| Document ID | [TS-ORG-001] |
| Strategy type | [Organisational / Programme / Project] |
| Applies to | [Organisation unit, product line or project name] |
| Version | [0.1] |
| Status | [Draft / In review / Approved / Superseded] |
| Owner | [@test-manager] |
| Classification | [Internal / Confidential / Public] |
| Last updated | YYYY-MM-DD |
| Next scheduled review | YYYY-MM-DD |
| Related documents | [Test policy], [Test plan TP-xxx], [Quality plan], [Risk register] |
Approvals
| Role | Name | Decision | Date |
|---|---|---|---|
| Head of quality / test | [@name] | [Approved / Rejected / Approved with comments] | YYYY-MM-DD |
| Engineering lead | [@name] | [Decision] | YYYY-MM-DD |
| Product owner | [@name] | [Decision] | YYYY-MM-DD |
| Security lead | [@name] | [Decision] | YYYY-MM-DD |
Revision history
| Version | Date | Author | Change summary |
|---|---|---|---|
| 0.1 | YYYY-MM-DD | [@name] | Initial draft for review |
| 0.2 | YYYY-MM-DD | [@name] | Example: Added contract testing for partner APIs after risk PR-07 was raised |
| 1.0 | YYYY-MM-DD | [@name] | Example: Approved by the quality steering group |
Contents
- Introduction
- Scope of testing
- Risk-based approach
- Test levels and test types
- Test design techniques
- Entry, exit and completion criteria
- Test environments and test data
- Test automation strategy
- Defect management
- Test metrics
- Roles and responsibilities
- Tools
- Reporting
- Deviations and tailoring
- Glossary and references
1. Introduction
1.1 Purpose and strategy type
This document sets out how [organisation / project] tests [products or system] so that release decisions rest on evidence proportionate to risk. It is a [organisational / project] test strategy. Project test plans inherit every rule in it unless a deviation is recorded in section 14.
1.2 Test objectives
| ID | Objective | Measure |
|---|---|---|
| OBJ-01 | Example: Prevent regressions in payment and checkout flows | Zero escaped severity-1 or severity-2 defects in checkout per quarter |
| OBJ-02 | Example: Give fast feedback to developers | Pull request pipeline completes in under 15 minutes at p90 |
| OBJ-03 | Example: Demonstrate conformance to accessibility target | WCAG 2.2 AA audit passes before each major release |
| [OBJ-nn] | [Objective] | [Measure] |
1.3 Context
- Products in scope: [product A], [product B], [shared platform].
- Delivery model: [Scrum with two-week sprints / continuous delivery / phased V-model].
- Regulatory drivers: [none / PCI DSS / ISO 13485 / accessibility law], which add evidence requirements in section 13.
- Test policy implemented: [Test policy ID and version].
2. Scope of testing
2.1 In scope
| Item | Description | Notes |
|---|---|---|
| Example: Web storefront | Customer-facing React application | All supported browsers in 7.1 |
| Example: Order service | REST service and database schema | Includes data migrations |
| [Item] | [Description] | [Notes] |
2.2 Out of scope
| Item | Reason | Tested by |
|---|---|---|
| Example: Payment gateway internals | Third-party certified component | Vendor; we test the integration only |
| [Item] | [Reason] | [Party] |
2.3 Assumptions and constraints
- [Assumption, for example: production-like data can be generated synthetically without personal data.]
- [Constraint, for example: the performance environment is shared and available two days per sprint.]
3. Risk-based approach
Testing effort is allocated in proportion to risk exposure. Product risks describe what could go wrong with the software; project risks describe what could stop testing from being effective.
3.1 Risk scoring
Each risk is scored on likelihood and impact , both on a 1-5 scale, and the exposure is
| Exposure | Band | Test treatment default |
|---|---|---|
| 15-25 | High | Several levels, formal techniques, automated regression, independent review |
| 8-14 | Medium | At least two levels, automated regression for the main paths |
| 1-7 | Low | One level, checklist or exploratory testing |
3.2 Risk register
| ID | Type | Risk | L | I | E | Treatment (levels, types, techniques) | Owner |
|---|---|---|---|---|---|---|---|
| PR-01 | Product | Example: Incorrect tax calculation for cross-border orders | 3 | 5 | 15 | Unit tests with decision tables; API tests per tax region; UAT sign-off by finance | [@name] |
| PR-02 | Product | Example: Checkout slower than 2 s at peak load | 3 | 4 | 12 | Load and spike tests (section 4); production monitoring | [@name] |
| PR-03 | Product | Example: Stored XSS through product reviews | 2 | 5 | 10 | SAST in CI; security test cases from OWASP WSTG input validation category; annual pentest | [@name] |
| PJ-01 | Project | Example: Test environment unavailable for more than two days | 3 | 3 | 9 | Ephemeral environments per pull request; contract tests to reduce dependency | [@name] |
| [ID] | [Product / Project] | [Risk] | [1-5] | [1-5] | [L x I] | [Treatment] | [@name] |
3.3 Risk review cadence
Risks are reviewed at [each sprint planning / each release planning / monthly]. New features add risks before development starts; a risk whose exposure changes by more than one band triggers a review of its treatment.
4. Test levels and test types
4.1 Test levels
| Level | Objective | Test basis | Owner | Environment |
|---|---|---|---|---|
| Unit (component) | Verify logic of individual functions and classes | Code, detailed design | Developers | Developer machine, CI |
| Integration | Verify interfaces between components and services | API contracts, architecture | Developers and testers | CI, ephemeral environment |
| System | Verify end-to-end behaviour against requirements | SRS, user stories | Test team | System test environment |
| Acceptance | Validate fitness for use by business users | Business processes, acceptance criteria | Product owner, users | UAT environment |
4.2 Levels and types matrix
| Test type | Unit | Integration | System | Acceptance |
|---|---|---|---|---|
| Functional | Automated (devs) | Automated contract and API tests | Automated E2E plus exploratory | Scripted scenarios by users |
| Performance | Micro-benchmarks for hot paths | Service-level latency tests | Load, stress, soak, spike | Not applicable |
| Security | SAST, dependency scan | DAST on APIs | Pentest per release train | Not applicable |
| Accessibility | Lint rules | Component axe checks | Automated plus manual screen-reader pass | Feedback from users with assistive technology |
| Usability | Not applicable | Not applicable | Heuristic review | Moderated sessions |
| Compatibility | Not applicable | Not applicable | Browser and device matrix (7.1) | Spot checks |
| Recovery and resilience | Not applicable | Fault injection on clients | Failover drills | Not applicable |
| [Type] | [Approach] | [Approach] | [Approach] | [Approach] |
4.3 Confirmation and regression testing
Every fixed defect gets a confirmation test at the lowest level that can reproduce it, and that test joins the automated regression suite. The full regression suite runs [nightly and before every release]; a risk-based subset runs on every merge.
5. Test design techniques
| Technique | Category | Use when | Required for |
|---|---|---|---|
| Equivalence partitioning | Specification-based | Inputs fall into classes treated the same way | All medium and high risks with input fields |
| Boundary value analysis | Specification-based | Ordered ranges, limits, sizes | All numeric and length limits |
| Decision table testing | Specification-based | Business rules combine several conditions | High-risk rules (PR-01) |
| State transition testing | Specification-based | Objects have lifecycles (orders, accounts) | Order and subscription lifecycles |
| Pairwise (combinatorial) testing | Specification-based | Many configuration parameters | Browser and locale matrix |
| Statement and branch coverage | Structure-based | Code-level adequacy | Unit tests of high-risk modules |
| Exploratory testing (charter-based) | Experience-based | New features, unclear requirements | Every feature before release |
| Error guessing and checklists | Experience-based | Known failure patterns | Low-risk items |
Coverage targets: [80%] branch coverage for high-risk modules, [60%] for the rest; every requirement linked to at least one passed test case.
6. Entry, exit and completion criteria
6.1 Entry criteria
| Level | Entry criteria |
|---|---|
| Unit | Code compiles; static analysis passes |
| Integration | Unit tests pass; API contracts published |
| System | Build deployed to system test environment; smoke test passes; test data loaded |
| Acceptance | System test exit criteria met; UAT users trained; known-issue list published |
6.2 Exit and completion criteria
| Criterion | Target | Applies to |
|---|---|---|
| Planned test cases executed | 100% of high-risk, 95% overall | System, acceptance |
| Pass rate of executed tests | >= 98% | System |
| Open severity-1 defects | 0 | All |
| Open severity-2 defects | 0 without an approved workaround | All |
| Requirements coverage | 100% of must-have requirements traced to a passed test | System |
| Branch coverage | >= [80%] high-risk modules | Unit |
| Performance | p95 latency within SLA under target load | System |
6.3 Suspension and resumption
Testing at a level is suspended when [the smoke test fails / more than 20% of tests are blocked / the environment is unstable for more than four hours]. It resumes when the cause is fixed and the smoke test passes again.
7. Test environments and test data
7.1 Environments
| Environment | Purpose | Fidelity to production | Refresh | Owner |
|---|---|---|---|---|
| Ephemeral (per pull request) | Integration and E2E checks | Same container images, stubbed third parties | Per pull request | Platform team |
| System test | System and regression testing | Same topology, scaled down | Each release candidate | Test team |
| Performance | Load and resilience testing | Production sizing for tested tier | Before each performance cycle | SRE |
| UAT | Acceptance testing | Production-like configuration | Each release | Product operations |
Supported client matrix: [Chrome, Edge, Firefox, Safari: latest two versions], [iOS and Android: latest two major versions].
7.2 Test data
- Sources: synthetic generators by default; masked production extracts only with data protection approval.
- Personal data: never copied unmasked into non-production environments.
- Ownership: each test suite creates and cleans up its own data; shared fixtures are versioned with the tests.
- Refresh: [weekly reset of system test database from the seed script].
8. Test automation strategy
The automated suite follows a test pyramid: many fast, isolated tests at the base and few slow, end-to-end tests at the top. The target split by number of tests is shown below.
| Rule | Detail |
|---|---|
| Pipeline gates | Unit and contract tests block merge; E2E smoke blocks deployment |
| Flaky tests | A test that fails intermittently is quarantined within one working day and fixed or deleted within one sprint |
| Speed budget | Pull request pipeline under [15] minutes; nightly suite under [2] hours |
| Ownership | The team that owns the code owns its tests |
| What not to automate | One-off checks, rapidly changing UI under design, usability judgement |
| Maintenance | Test code follows the same review and coding standards as product code |
9. Defect management
9.1 Severity scale
| Severity | Meaning | Example |
|---|---|---|
| S1 Critical | System unusable, data loss or security breach, no workaround | Payments charged twice |
| S2 Major | Core function broken, workaround is costly | Cannot apply discount codes |
| S3 Minor | Non-core function broken or core function degraded with easy workaround | Sort order wrong on history page |
| S4 Cosmetic | No functional impact | Misaligned icon |
Priority (P1-P4) is set by the product owner and expresses urgency of the fix, independent of severity.
9.2 Defect workflow
Triage happens [daily during system test, twice weekly otherwise] with the test lead, a developer lead and the product owner. Every defect records: ID, title, steps to reproduce, expected and actual result, environment, build, severity, priority, linked requirement or test case.
10. Test metrics
| Metric | Formula | Used by | Decision supported |
|---|---|---|---|
| Test execution progress | executed / planned test cases | Test lead | Is the cycle on schedule? |
| Pass rate | passed / executed | Test lead, release manager | Exit criterion 6.2 |
| Defect density | defects found / size (KLOC or story points) | Quality manager | Which components need more review? |
| Defect detection percentage | defects found before release / total defects found within 90 days | Head of quality | Is the strategy effective? |
| Mean time to fix S1/S2 | average time from triage to closed | Engineering lead | Staffing and priority |
| Flaky test rate | quarantined tests / total automated tests | Automation lead | Suite health |
Defect detection percentage is computed as
where is defects found before release and is defects found in production within [90] days.
11. Roles and responsibilities
| Role | Responsibilities | Independence |
|---|---|---|
| Head of quality / test | Owns this strategy, approves deviations, reports quality to management | Independent of delivery teams |
| Test manager / test lead | Writes test plans, tracks progress, chairs triage, signs test completion reports | Within programme |
| Tester / quality engineer | Designs and executes tests, maintains automation, reports defects | Within team |
| Developer | Writes unit and integration tests, fixes defects, keeps pipeline green | Not independent |
| Product owner | Sets priority, accepts residual risk, leads acceptance testing | Business side |
| Security tester | Security testing and pentest coordination | Independent team or external |
12. Tools
| Category | Approved tool | Notes |
|---|---|---|
| Test management | [Tool name] | Stores test cases, runs and traceability |
| Unit testing | [Vitest / JUnit / pytest] | Coverage via [tool] |
| UI automation | [Playwright / Cypress] | Runs headless in CI |
| API and contract testing | [Postman / Pact] | Contracts versioned in repository |
| Performance | [k6 / JMeter / Gatling] | Scripts in repository |
| Security | [SAST tool], [dependency scanner], [DAST tool] | Findings triaged weekly |
| Accessibility | [axe-core], [screen readers in 7.1] | Manual checks per release |
| Defect tracking | [Issue tracker] | Workflow in 9.2 |
13. Reporting
| Report | Frequency | Audience | Content |
|---|---|---|---|
| Test status report | [Weekly / per sprint] | Project team | Progress, blockers, new risks, defect trend |
| Test completion report | End of each test level or release | Release board | Results against criteria, residual risks, recommendation |
| Quality dashboard | Continuous | Everyone | Pipeline health, coverage, open defects by severity |
| Strategy effectiveness review | [Quarterly] | Quality steering group | DDP, escaped defects, changes proposed to this strategy |
Evidence retention: test results, reports and approvals are retained for [two years / the regulatory period] in [system].
14. Deviations and tailoring
A project that cannot follow a rule in this strategy records the deviation below and in its test plan, with the compensating measure.
| ID | Rule deviated from | Project | Reason | Compensating measure | Approved by | Date |
|---|---|---|---|---|---|---|
| DEV-01 | Example: 8. E2E suite gates deployment | Legacy billing | No stable UI test hooks | Manual smoke checklist signed per deployment | [@head-of-quality] | YYYY-MM-DD |
| [DEV-nn] | [Rule] | [Project] | [Reason] | [Measure] | [@name] | YYYY-MM-DD |
15. Glossary and references
15.1 Glossary
| Term | Meaning in this document |
|---|---|
| Test basis | The documents or knowledge from which test cases are derived |
| Test level | A group of test activities organised around one stage of integration |
| Test type | A group of tests aimed at one quality characteristic |
| Exposure | Likelihood multiplied by impact of a risk |
| Escaped defect | A defect first found in production |
15.2 References
- [Test policy, version]
- [Quality management plan, version]
- ISO/IEC/IEEE 29119 series, Software and systems engineering: Software testing (parts 1-3)
- [Project test plans that implement this strategy]
Standard and licence note
Structure aligned with ISO/IEC/IEEE 29119-3, Software and systems engineering: Software testing, Part 3: Test documentation, organisational and project test strategy concepts. This template is original text written for this collection and reproduces no text from the standard; obtain the standard from ISO, IEC or IEEE for its normative requirements. Template licence: MIT.
Plantillas relacionadas
Performance Test Plan and Report Template
Performance plan and report: SLAs, workload mix, Little's law sizing, load, stress, soak and spike tests, percentiles, bottlenecks
Pruebas y calidadTest Completion Report Template (ISO/IEC/IEEE 29119-3)
Test completion report: criteria evaluation, deviations, metrics with defect density, outstanding defects, residual risks, sign-off
Pruebas y calidadTest Design Specification Template (ISO/IEC/IEEE 29119-3)
Feature sets, test conditions, coverage items and worked technique tables (partitions, boundaries, decision table, state transitions)