Software Test Plan Templates
Sample Test Plan Templates
It a document describes the scope, approach, resources and schedule of intended test activities.
Test Plan Template may vary from One company to another and One Project to another but Objective is same.
Test Plan Template Sample-1
Describe the purpose of this Software Test Plan, If it links in with other plans (for example, Project Plan or Master Test Plan) then identify the level to which this plan belongs.
Identify the scope of this Software Test Plan in relation to the overall project plan that it relates to.
3) Test Plan Identifier
The Test Plan Identifier is just a type of unique number or reference-id to identify this test plan and the software that it is related to.
4) Reference Documents
List all documents that support this test plan. Refer to the actual version/release number of the document as stored in the document or configuration management system.
Documents that could be referenced include:
– Project Plan
– Requirements specifications
– Test Strategy
– High Level design document
– Low Level design documents
– Quality system process documents
– Corporate standards and guidelines
5) Features to be Tested
This is a high-level view of what is to be tested from the user’s viewpoint of what the system does.
6) Features not to be Tested
What is not to be tested can be sometimes just as important as stating what is to be tested. It removes any ambiguity in order that other project stakeholders are clear on what to expect from the test phases.
development is full of risk, and the testing phases are no exception. It is always wise to take an active lead in managing the risks facing you.
8) Test Approach (Strategy)
The test approach is the overall test strategy that underpins the whole test plan. A test approach asks, “how are you going to test the software?”
9) Test Environment
The test environment encompasses the software being tested, related platform software, third-party software, communications software, etc. Ensure that you have the resources required to install, set up and configure your test environment.
10) Human Resources
List the members of your test team here. Think about the specialisms each has when assigning them work tasks.
Define Roles and Responsibilities
Since you have reviewed the roles and responsibilities of test-related personnel it may have become apparent that there are skills gaps. If this is the case then you will need to decide the best way to fill these gaps.
12) Management and Metrics
Who will be managing the testing? Will different people be managing different phases, for example integration test phase, component test phases? Does the Project Manager require metrics to be collected from you? If so, then list these here and state when and how you will construct the metrics and report them.
13) Test Estimation and Schedule
The duration of the testing schedule should have been estimated as a result of a team consensus. It can be useful to break test estimates down to a level that matches that in the related functional specifications or requirements.
14) Test Phase Entry, Exit and Suspension Criteria
In order that you can manage software stability and quality grade through successive test phases it is useful to plan for test phase Entry Exit and Suspension criteria.
15) Test Deliverables
Test deliverables are essentially the work products of the entire test regime. This may include:
• Test estimates
• Test schedules
• Test Plan
• Test Specification
• Test Scripts
• Test Data
• Test tools, harnesses, stubs, etc
• Test execution results
• Test Reports
• Issue Logs
• Lessons to be learned
• Test Risk Register
• Test Training plans
16) Glossary of Terms
Define terms, jargon and acronyms used in this document to eliminate possible confusion and promote consistent communication.
Test Plan Template Sample-2
Describe the purpose of this plan.
1.3. Intended Audience
Describe the intended audience of this plan. Depending on the test phase, potential audience groups would include:
• Test team
• Development team
• Project Management/PMO
• Quality Assurance or other compliance groups
1.4. Test Phase Objectives
List the test objectives for this specific test phase. For example, if the plan was for Unit Test, objectives might include: stabilizing the test environment, ensuring that all developed functionality performs per spec, etc… Think about secondary objectives that may occur during the test phase. For example, during the System Test phase you may execute all UAT scripts to ensure that they run successfully, or validate training material.
1.5. Relationship to Other Plans
Describe how this test plan fits into the overall document structure that exists. This may include:
• Overall test strategy
• Other test phase test plans
• Company or group/department-wide test documents (e.g. Software Quality Assurance Plan)
List all reference documents that were used to create this plan, will be used in test case development, and/or will be utilized during test execution.
Document Author Version Location
1.7. Revision History
Revision Author Date Comments
1.8. Test Plan Approvals
List everyone who has to either review or approve the test plan document in this table, along with their project role.
2. Scope and Test Approach
2.1. Scope Inclusions
List everything that will be tested during this test phase. This is very important for the test plan since it prevents someone saying later “I thought that was being tested in test phase X”. You don’t need to list detailed requirements – providing a list at the feature level is usually sufficient.
2.2. Scope Exclusions
Equally important is the list of items that will not be tested. Be as explicit as possible when producing this list.
2.3. Test Phase Approach
This is a high level description of the approach for this test phase. You should not necessarily discuss all test phases in this section (you can refer readers to the Test Strategy document for that), but you may want to highlight important dependencies. Items to include in this section include:
• How requirements traceability will be met
• How test cases will be produced, reviewed, and approved
• The use of an automated test tool vs. manual testing
• Who will be executing the tests (e.g. testers, end users, developers)
3. Quality Risks
If you haven’t already done a quality risk assessment on the system, this section will force you to do it now. It is important to analyze quality risks because they shape your testing approach and define the areas that you need to pay special attention to.
This section should highlight only system quality risks – not every project risk from the project risk register (see Section 9 for where some of these risks are addressed). System quality risks might include:
• Feature A is being implemented with new technology
• User adoption is critical and several UI screens were not prototyped during requirements or design
• Requirements for feature M changed significantly during the design phase
For every item in the table you should identify one (or more) strategies that will directly address and mitigate these quality risks.
4. Schedule and Resources
4.1. Planned Schedule
This section should include a list of key milestones for this test phase, including (but not limited to):
• Approval of test plan
• Development of test case list
• Development of test cases
• Development of automated test scripts
• Preparation of test environment
• Test execution dates
4.2. Required Resources
List all resources required for test planning and execution. Do not forget to include non-test team members who need to be involved (e.g. stakeholders to sign off on the test case list, IT operations who need to maintain the test environment(s), requirements analysts who may need to clarify documentation during test case development).
5. Test Phase Transition Criteria
The following describe required criteria in order for testing to move from one state to another.
5.1. Entry Criteria
List all criteria that must be met in order for test execution to begin. Possible items to list include:
• Test plan approved
• Test environment stable and ready
• Test cases written and approved
• Test tools ready
• Previous test phase’s exit criteria met
• Test resources available
5.2. Exit Criteria
List all criteria that must be met in order for this test phase to be considered complete. Possible items for inclusion are:
• Test case completion
• Number and severity of open defects
5.3. Suspension Criteria
This section should include criteria or conditions that if they occur, testing should be stopped. This section is very important – many times the test team is asked to continue testing in some vain attempt to meet published schedules when in reality the software is not ready for testing.
5.4. Resumption Criteria
In this section list criteria that must be met before testing can resume, in the event testing is suspended per the criteria in Section 5.3.
6. Test Environment and Configurations
6.1. Test Environment
Describe the test environment(s) required for this test phase. Be as specific as possible, particularly with requirements on data setups and operations support requirements. Make note if the environment will be significantly different than other test environments and/or the production environment.
6.2. Test Configurations
Describe the specific test configurations that will be utilized during this test phase. What you list here will vary by project, but some items that might be included are:
• Operating System
• Client hardware
• Client Java version
• Connection type (connected, disconnected)
If there are specific configurations that you know are not supported and/or won’t be tested, it is helpful to list those as well. You may also wish to call out which configuration will be used for which types of testing, if they vary. You can summarize this information in a chart, or use the pre-defined sections below.
6.2.1. Test Configuration A
Details on test configuration A.
6.2.2. Test Configuration B
Details on test configuration B.
7. Test Phase Execution
7.1. Roles and Responsibilities
Describe each role/responsibility in this section. At a minimum, make sure you have roles identified for the following:
• Test environment support
• Development liaison
• Release manager (person responsible for deploying code/configuration changes to the test environment)
• Test manager
• Project manager (or other point of contact for escalating issues)
• Person producing test metrics
• Approver(s) of test plan
• Approver(s) of test scripts
• Approver(s) of test phase deliverables
7.2. Test Case Tracking
In this section describe how the status of each test case will be tracked for each test iteration. Also include the criteria for deciding how to determine the status of each test case (e.g. what needs to happen for a test case to be passed, failed, blocked, etc…)
If you have a test management tool, you can make a reference to the documented processes for the tool.
7.3. Test Defect Tracking
In this section you need to detail:
• What tool is utilized for defect tracking
• Statuses used and what they mean
• Classification definitions
• The defect workflow, including roles (i.e. who makes the determination that a defect is ready to test, or can be closed)
Since a good defect tracking process can be leveraged over and over again with little variation, I strongly suggest documenting a process and simply referencing it in each test plan.
7.4. Release Management
This is an often overlooked process – so make sure it is worked out prior to the start of testing. The release management process should describe (at a minimum):
• Who (and how) makes the decision to move code/configuration changes to the test environment
• Who is responsible for moving the code/configuration changes to the test environment
• How does notification of a new release occur
• Who produces the release report (which should include the new tag for the release as well as the defects addressed by the release)
• If required, who updates defect statuses based on the new release
• If there is a Configuration Management System, there should be a reference to the documentation as well
7.5. Planned Test Iterations
Describe the number of planned test iterations and (at a high level) what will get tested in each iteration. If this information is not known yet, place best guess estimates and refer readers to where this information can be found when it is developed.
7.6. Planned Test Hours
List the planned test hours (and days). If there are specific non-testing days (e.g. holidays), list them here also.
8. Test Phase Deliverables and Metrics
List all deliverables for this test phase, along with who is responsible for producing each one.
Describe the metrics that will be produced during test execution, the frequency of publication, how they will be published (e.g. via email, within a testing tool, on a shared drive), and who is responsible for publication.
9. Risks and Contingencies
This section should contain risks that are specific to testing. Note that quality risks of the application should be specified in Section 3 and not duplicated here. Some examples of risks include:
• Loss of key test personnel
• Inexperienced personnel
• Possibility of catastrophic failure to the test environment
• Overly demanding test schedule
• New/un-proven testing tools
For each risk, list one or more contingencies that can be prepared for ahead of time. For example, if you have inexperienced testing personnel you may decide on training prior to test execution. Or for the possibility of test environment failure, you may plan on a backup server.
Each risks impact to the project should be quantified as much as possible.