
Test Plan Guidance: Objectives and Techniques

The test plan is the guide or documentation that helps the team understand how to test the system effectively. It describes objectives, resources, and processes for a test object. A test plan helps determine what activity to perform at what level. It also assists in deciding the time and budget for a project.
The test plan ensures that testing activities are performed according to the acceptance criteria while integrating QA testing services to uphold high quality standards. It is also a means of communication between team members and stakeholders.
A test plan is the responsibility of a test manager. Since projects differ, the test plans for different projects are also distinct.
The Objective of a Test Plan
Here are some of the objectives of a test plan.
- The test plan addresses future challenges like risks, schedules, people, tools, costs, and effort.
- It defines the scope and goals of the project.
- It establishes a test strategy, i.e., a collection of approaches.
- It improves communication between team members and stakeholders.
- It ensures comprehensive test coverage.
Test Planning Content
The content of test planning includes:
- Testing content, i.e., scope, objective, test basis, and constraints
- Assumptions and constraints of the test project
- Stakeholders, i.e., roles and responsibilities
- Communication plans
- Risk register, i.e., product risks and project risks
- Budget and schedule for the project
- Test approach, i.e., test levels, test types, techniques, and entry and exit criteria for the project
Release and Iteration Planning
In interactive planning, there are two types of planning:
- Release planning
- Iteration planning
Release Planning
Release planning forms the basis for the test approach and test plan. During release planning, the product backlog is defined and refined. The product owner is responsible for refining the backlog. Larger user stories are divided into smaller ones, and the high-level scope is established. Release planning focuses on long-term goals and provides a broader picture.
The timeframe usually spans several weeks to months, taking longer than sprint planning. Testers assist the product owner in writing efficient user stories and acceptance criteria, participate in risk analysis, and help define the test approach. User story estimation and planning for release are also part of this phase.
Iteration/Sprint Planning
Iteration planning, also known as sprint planning, involves selecting tickets from the product backlog to use in a sprint. Sprints typically last 2-4 weeks and focus on defining a specific iteration. A detailed risk analysis is performed, and user stories are made testable. Time estimation for testing efforts is also defined.
Larger user stories are divided into smaller ones. Functional and non-functional requirements are defined or redefined. This phase is short-term, focused, and detailed.
Entry Criteria and Exit Criteria
The organization or project determines entry and exit criteria.
Entry Criteria
Entry criteria are the preconditions and requirements to start testing. It is a checklist of activities to be completed before testing begins.
Entry criteria include
- Definition of ready
- Resources: people, tools, environment, data, budget, and time
- Testware: test basis, user stories, and test cases
- The initial quality of the test object: all smoke tests have passed
Exit Criteria
Exit criteria define the completion criteria for testing. It is a checklist for concluding testing activities, ensuring everything is finalized.
Exit Criteria Include
- Definition of done
- Completion criteria: all planned tests have been completed
- Static testing has been performed
- All identified defects have been reported
- All regression tests are automated
- Measures of thoroughness: achieved coverage, unresolved defects, and defect density
Test Estimation Techniques
Test estimation involves determining the time required for test-related tasks to meet objectives. These estimations are assumptions made before testing begins. It is important to clarify to stakeholders that test estimations are subject to errors. Smaller tasks tend to have more accurate estimations.
Types of Test Estimation Techniques
Testers can estimate their effort, defect rate, and coverage using the following techniques:
- Metric-based estimations
- Expert-based estimations
Metric-Based Estimations
These estimations are based on numbers and ratios, driven by calculations or metrics like graphs.
Types of metric-based estimations:
- Estimation based on ratios
- Extrapolation
1. Estimation Based on Ratio
Completed projects are used as references, and their ratios are applied to estimate new projects.
Example
If a completed project requires 40 hours, the new project estimation might also be 40 hours. If the effort seems doubled, the estimation could be increased to 80 hours.
Benefits
- Saves time
- Relies on historical data
- Enables resource predictions
2. Extrapolation
This technique uses ongoing projects to predict future activities. Historical data and team experience guide estimations.
Benefits
- Enables early estimations
- Identifies early risks and defects
- Utilizes historical data for predictions
Expert based Estimations
Experts provide time, effort, and resource estimations, particularly when historical data is unavailable.
Types of Expert-Based Estimations
1. Wideband Delphi
2. Three-point estimation.
1. Wideband Delphi
Experts make experience-based estimations. Each expert makes estimations in isolation. The results are collected from each expert. Based on the feedback shared all the experts are asked to make estimations in isolation again. The process is repeated until a consensus is reached.
Planning poker is used in Agile. It is made using cards with numbers representing the effort size. Planning Poker is a variant of Wideband Delphi.
2. Three-Point Estimation
In this technique, 3 estimations are made by the experts.
a represents the most optimistic estimations.
b represents the most pessimistic estimations.
m represents the most likely estimations.
E represents the final arithmetic mean.
E = (a+(4*m)+b) /6
This technique also allows us to calculate measurement errors.
SD = (b-a) /6
Common Test Planning Pitfalls in Real Projects
Many defects that reach production trace back to gaps a test plan could have closed early. Common examples are a user story without acceptance criteria, QA joining after the build is ready, UI designs that arrive after testing starts, and a sprint that leaves no time to design tests. The table lists the patterns Arbisoft's QA team met on projects with different levels of process maturity, along with the part of the plan that addresses each one.
| Pitfall | What happened on a project | What the test plan should say |
|---|---|---|
| User story without acceptance criteria | A story asked for an "enhancement to the search functionality" but did not name the affected filters, the expected behavior for invalid inputs or any performance expectations. Test design waited on repeated questions to the product owner, and the feature went through several rounds of development and testing. | Entry criteria require acceptance criteria covering invalid inputs and performance limits before a story counts as ready. |
| Requirements given verbally or only as release notes | QA received a release document listing fixes and features, and developers explained the rest verbally. Defect reports turned into disagreements about what was expected. QA became the coordination hub between developers, the product owner and quality managers, a dependency that pointed to gaps in the process. | The test basis names one written source per feature, such as a user story or specification, and the communication plan says where decisions are recorded. |
| QA left out of backlog refinement | QA attended sprint planning but not refinement, and missed meetings were rarely recorded. Scope changes reached QA late in the sprint. | The stakeholder and communication sections include QA in refinement and say how decisions from missed meetings are shared. |
| QA brought in only after the build is ready | On a Kanban project, developers deployed changes continuously and told QA only when a build was ready. QA had no place in planning or review meetings, so testing ran without full context and edge cases and integration issues were easier to miss. | The stakeholder section puts QA in planning and review meetings, and the entry criteria for each build include a written list of the changes it contains. |
| A rule built on one layer only | Validation meant for both the UI and the API was built only in the UI. API requests bypassed the rule, and the defect was found late in the sprint. | Acceptance criteria name every layer a rule applies to, and the test approach includes API-level tests for it. |
| UI designs missing or late | Tests were based on the existing UI. Updated designs then changed the layout and interactions, which forced re-testing. | Approved designs are an entry criterion for UI stories. |
| No time left to design tests | Development used most of the sprint. Test cases covered mainly happy paths, and more defects escaped to production. | The sprint estimate reserves time for test design and exploratory testing, and exit criteria include negative and edge cases. |
| Coverage that looks higher than it is | Testing based on release notes covered happy paths well but missed edge cases and negative scenarios, so execution numbers overstated real coverage. | Coverage is measured as the share of requirements with traced, executed test cases. |
Measuring Defect Leakage After Release
Defect leakage shows whether the exit criteria held once the software reached users. A common way to calculate it is the share of all defects found in production: defect leakage (%) = (production defects / total defects) x 100. On one project Arbisoft's QA team worked on, with unclear requirements and minimal QA involvement, about 25 of roughly 180 defects reached production. That is a leakage of about 14%, and it led to customer escalations and emergency fixes.
Across those projects, high leakage tended to go with poor requirement clarity and late QA involvement. Tracking the figure release by release shows whether changes to the plan, such as earlier QA involvement or stricter acceptance criteria, are reducing what escapes.
Tracking Rework Cost
Rework cost is the third number worth tracking, after coverage and defect leakage. It adds up developer time spent re-implementing, QA time spent re-testing, and the delay to the release. On the projects where QA joined early, rework was much lower. Where requirements were unclear and testing started late, features went through several rework cycles and team velocity dropped.
How Much Test Planning Each QA Maturity Level Needs
The pitfalls above track closely with QA maturity. Arbisoft's QA team met most of them at levels 1 and 2, and many faded as teams moved up. The level a team is at shows where its test plan needs the most detail.
| Maturity level | What QA looks like | Where the test plan needs the most detail |
|---|---|---|
| Level 1, reactive QA | No formal testing process, testing starts after development, and defect leakage is high | A written test basis for each release, smoke tests as an entry criterion, and defect leakage tracked from the first release |
| Level 2, isolated QA | Test cases exist, but collaboration is limited and QA joins late | QA in refinement, acceptance criteria as an entry criterion, and sprint time reserved for test design |
| Level 3, collaborative QA | QA joins sprint ceremonies, acceptance criteria are defined, and leakage is lower | Risk analysis for each sprint and coverage traced to requirements |
| Level 4, proactive and risk-based QA | QA is involved early, the focus is on preventing defects, and metrics drive improvement | Test effort prioritized by risk, with the plan adjusted from leakage and rework trends |
| Level 5, quality ownership culture | The whole team owns quality, QA acts as a quality strategist, and production feedback is continuous | A plan the whole team maintains, with production feedback setting the next release's priorities |
Conclusion
In the QA process, test planning plays a significant role in ensuring efficiency and successful project delivery. By defining goals, scope, objectives, entry criteria, exit criteria, and test estimation techniques, teams can deliver quality software on time. It also fosters confidence in software reliability. Businesses can utilize a team augmentation service to further bolster in-house expertise and drive improved testing outcomes.
...Loading Related Blogs









