Test Strategy document format
|Title:||<Formal name for the Strategy with reference to the area it covers>|
|Date:||<Date of issue of current version>|
|Electronic File Name:||<Document file name.doc>|
|Electronic File Location:||<SharePoint URL>|
|Contributors:||<Add names of anyone reviewing or providing information>|
|<Issues date>||v0.1d||Working Draft, not yet for review||<Your Name>|
|Ref||Document Name||Electronic File Location|
|STLC||<Your SharePoint, Twiki or Knowledge Tree URL>|
|SDLC||<Your SharePoint, Twiki or Knowledge Tree URL>|
|KT||Software Test Metrics||http://devbgb0414.abc.com:8080/browse.php?fFolderId=1409|
TABLE OF CONTENTS
- ‘Pass/Fail’ Criteria. 7
- Suspension Criteria & Resumption Requirements. 7
- Test Deliverables. 8
- Testing Tasks. 8
- Environmental and Infrastructure Needs. 9
- Responsibility Matrix. 9
- Staffing and Training Needs. 9
- Schedules and Resource Plans. 10
- Risks and Contingencies. 10
- Approvals. 10
1.Test Strategy Identifier
The unique identifier for this Test Strategy is: <Test Strategy ID>
<Your audience may not know of the Service that you have put this strategy in place for, provide a brief narrative introduction to the product or service offering. Consider including product history, reasons for introduction or changes, expected outcome of the changes, who might use it and the benefits of them using the new or enhanced product>
The purpose of this Test Strategy is to define the overall approach that will be taken by the QA Team when delivering testing services to all of the projects within the business.
The document helps to clarify the testing activities, roles and responsibilities, processes and practice to be used across successive projects.
Where a project’s testing needs deviate from what is covered by this Test Strategy the exceptions will be detailed in the Test Plan.
3. Test Items
For each Release the QA Engineer will create a table of Test Items that will be in scope of the testing being planned. These will be identified from the Scope Items in a given Release and include interrelated modules and components of the service that will be affected by the Scope Items.
In addition the QA Engineer will record any Test Items that cannot be tested by the test team. The Test Plan will contain Test Items that are In-Scope and Out-of-Scope.
4. Features to be tested
The QA Engineer will use the Test Breakdown worksheet (ref#) to record all of the features to be tested for each of the Test Items in scope.
The Test Breakdowns will include details of the Test Scenarios from which the Test Cases will be derived.
5. Features not to be tested
<What features would we usually not test in a project? Security, Accessibility?>
Where it is not possible for the team to test features of a Test Item that would have been expected or that would fall under the scope of testing shown in section 10. Testing Tasks, it will be recorded in section 5 of the Test Plan.
All testing tasks will be conducted in line with the Software Test Life Cycle (STLC) and in support of the Software Development Life Cycle (SDLC). The CTRL* documents used within the SDLC will be completed both by the QA Team and the project participants that are responsible for providing information and deliverables to QA.
It should be decided at the start of the project if there will be a Post Implementation Review after project delivery and this should be conducted within two weeks of project completion.
<Narrative description of the high level Strategy>
<A description of the test methodology that will be followed>
<Include a diagram where possible – V-Model, Scrum, Waterfall>
<Touch on risks, discuss the use of test equipment or data, etc. – use this paragraph to tone-down the formality of the rest of the document and set the scene for the rest of the plan, look to add value for the audience in the approach and their support of it. Touch on anything that has no clear area for inclusion in the Test Plan>
5.1 Analysis & Planning Phase Entry Criteria
For all projects the following criteria need to be met before the Test Items are accepted into the Analysis & Planning Phase
- Release scope item list is locked and prioritized
- Documentation defining the scope items are approved and at release status
- All documents are under change control processes
5.2 Analysis & Planning Phase Exit Criteria
- Test Breakdowns and Test Cases are written and peer reviewed
- Knowledge Share document has been completed and reviewed by the QAEs
- Walkthrough and sign-off completed for the Test Plan and Test Breakdowns
- Defined Test Estimate has been published and agreed
- The list of features in the Test Breakdown have been prioritised.
5.3 Test Phase Entry Criteria
Before Test Items are made available for QA to test it’s expected that:
- The Test Item Transmittal Report (EX01) will be completed
- All test tools are available and test infrastructure are available for use during testing
- All Test Items are development complete
- The correct versions of the code have been deployed to the correct test environments
- Sanity and Unit tests have been completed successfully to demonstrate readiness for test
5.4 Test Phase Exit Criteria
For the Test Items to exit testing the following conditions will have to be met.
- The Test Summary Report (RE03) will be completed
- All planned testing activities has been completed to agreed levels
- All high priority bugs have been fixed, retested and passed
- No defects must be left in an open unresolved status
6.1. Change Management
The Build Manager will ensure that once testing begins no changes or modifications are made to the code used to create the build of the product under test. The Build Manager will inform QA against which version testing will begin and confirm the location within [VSS/Progress/Perforce/Subversion] the build is to be taken from.
If changes or modifications are necessary through bug resolution or for any other reason the Build Manager will inform QA prior to the changes being made.
6.2. Notification / Escalation Procedures
The following diagram shows the notification and escalation paths to be followed for the duration of the project Test Phase.
6.3. Measures and Metrics
At the Initiation Phase of the project the QA Team will publish a set of measures and metrics related to the test activities of their Planning & Analysis and Execution phases.The Test Plan also defines the milestone dates for key deliverables such as the Test Plan and these are metrics captured for ongoing statistical process analysis across successive projects.
- Number of Test Scenarios v. Number of Test Cases
- Number of Test Cases Planned v. Ready for Execution
- Total time spent on Preparation v. Planned time
Test Execution and Progress
- Number of Tests Cases Executed v. Test Cases Planned
- Number of Test Cases Passed, Failed and Blocked
- Total Number of Test Cases Passed by Test Item / Test Requirements
- Total Time Spent on Execution vs Planned Time
- Total Number of Bugs Raised and Closed per Test Run
- Total Number of Bugs Closed v. Total Number of Bugs Re-Opened
- Bug Distribution Totals by Severity per Test Run
- Bug Distribution Totals by Test Item by Severity per Test Run
7. ‘Pass/Fail’ Criteria
Each Test Item will be assigned a Pass or Fail state dependant on two criteria:
- Total number and severity of Issues in an Open & Unresolved state recorded in Bugzilla / Bug Tracker.
- The level of successfully executed test requirements.
The combination of both criteria will be used to recognise the Test Item can be declared Test Complete. However as this is a minimum level of quality that is believed achievable it’s recommended that where project timescales allow further testing and development should be conducted to raise the overall quality level.
Table of Issue Severity
|S1||Crash/Legal – System crash, data loss, no workaround, legal, Ship Killer||0|
|S2||Major – Operational error, wrong result||<Set by PM>|
|S3||Minor – Minor problems||<Set by PM>|
|S4||Incidental – Cosmetic problems||<Set by PM>|
|S5||N/A – Not Applicable; used for feature requests and Development Tasks||Reference Only|
The total MAXIMUM number of issues recorded in Bugzilla / Bug Tracker that can remain in an Open & Unresolved state for the Test Item and be acceptable for release.
Table of Test Scenario Priority
|Test Scenario||Definition||Minimum Pass Rate|
P1 – Critical
|Essential to the Product||100%|
|P2 – Important||Necessary to the Product||<Set by PM>|
|P3 – Desirable||Preferred, but not essential to the Product||<Set by PM>|
The MINIMUM set of Test Scenarios that must pass before the Test Item can be considered for release.
Unforeseen issues arising during the Test Phase may impact the agreed ‘Pass/Fail’ Criteria for the Test Item. Issues can be managed through review with the QA Team and the project authorities.
8. Suspension Criteria & Resumption Requirements
Testing of Test Items will be suspended if:
1a) Suspension criteria:
A Severity 1 issue is logged and requires fixing before further testing can take place (a Blocking Issue)
1b) Resumption requirement:
The issue will need to be fixed before the Test Item is returned to QA for testing.
2a) Suspension criteria:
Significant differences exist between observed behavior of the Test Item and that shown in Test Scenario, Test Case or as expected from the previous version of the technology.
2b) Resumption requirement:
Development, QA and PM must come to a conclusion on resolving the issue and agreeing a definition of the expected behavior.
3a) Suspension criteria:
A Test Item sent for testing fails more than 20% of Developer Unit Tests.
3b) Resumption requirement:
The Test Item must be fixed or Unit Tests refactored if out of date and then demonstrated to pass with <20% failure rate.
9. Test Deliverables
The following artifacts will be produced during the testing phase
- Test Plan
Used to prescribe the scope, approach, resources, and schedule of the testing activities. To identify the items being tested, the features to be tested, the testing tasks to be performed, the personnel responsible for each task, and the risks associated with this plan.
- Test Schedule
Which describes the tasks, time, sequence, duration and assigned staff
- Test Breakdown
Which includes the Test Scenarios, their priority and related number of Test Cases along with the defined estimates for time to write and execute the Test Cases.
- Test Cases
Detail the pre-conditions, test steps and expected and actual outcome of the tests. There will be positive and negative test cases.
- Periodic progress and metric update reports
- Bug Reporting
- Test Summary Reports
<Consider lifting out the definitions into a separate document> – MACR: Don’t worry; let’s just run with it until we get time to put together a full Glossary of Testing Terms or some such.
10. Testing Tasks
The Testing Tasks that the QA Team will deliver cover the following scope:
- Fully In Scope: Functional and Regression Testing
- Partially in Scope: Cross Browser Compatibility, Integration in the Large.
- Out of Scope: Performance testing, Automated Regression, all forms of Non-Functional, Accessibility Compliance Testing, Security Testing, User Documentation Review.
11. Environmental and Infrastructure Needs
The following detail the environmental and infrastructure needs required for the testing of abc.com Test Items and execution of Regression Testing.
- Development Integration:
- QA1 Environment
- QA2: Environment
- Staging Environment
- Quality Centre
- Quick Test Pro
- Network connections are available on all Test Systems as required.
12. Responsibility Matrix
The table below outlines the main responsibilities in brief for test activities:
|Test Manager||Test Engineer|
|Provision of Technical Documents||X||X|
|Test Planning and Estimation||X||X|
|Review and Sign off Test Plan||X||X||X|
|Test Preparation and Execution||X|
|Test Environment Set-up||X|
|Change Control of Test Environments||X||X|
|Provision of Unit Tested Test Items||X|
|Bug fixes and return to QA for re-test||X|
|Product Change Control||X||X||X|
|Ongoing Test Reporting||X||X|
|Test Summary reporting||X|
13. Staffing and Training Needs
Staffing levels for the test activities will be:
- 1 x Test Manager for the duration of test planning at 50% effort against plan.
- The required number of QA Engineers for the duration of test execution at 100% effort against plan.
For each project the training needs will be assessed and defined in the Test Plan
14. Schedules and Resource Plans
The QA Team will maintain a Team Plan which records individual assignment to testing tasks against assignable days. This will also record time planned and delivered against the tasks which will be used to update relevant Project Schedules and be used in periodic reporting.
The Test Schedule for the Release will be located within Knowledge Tree
15. Risks and Contingencies
|1||Delays in delivering completed Test Items from Development would impact test timescales and final Release quality||Product Management and Development to advise of any delays and adjust Release Scope of Resources to allow the test activities to be performed.||High|
|2||Delays in the turn around time for fixing critical bugs, which would require re-testing, could have an impact on the project dates.||Strong management of bug resolution would be required from Development to ensure bugs are fixed and available for re-testing in the scheduled time.||
|3||The QA, Development or PM teams require domain guidance from one or the other and they are not available. This would delay project activities.||QA, Development and PM teams to ensure they are available at critical points or contactable during the project activities.||Medium|
|4||Features of Test Items will not be testable.||QA will record untested features and request the PM to assess business risk in support of the release of untested features.||Low
|5||Unexpected dependencies between Test Items and service components are encountered that require revision of Test Scenarios and related Test Cases.||Information about dependencies is updated and communicated promptly to allow timely revision of Test Scenarios and Test Cases||Low|
The following people are required to approve the Test Strategy
|Head of QA|
|Product Owner||Product owner for a strategy covering ALL products?|