- Test plan
A test plan is a systematic approach to testing a system such as a
machineor software. The plan typically contains a detailed understanding of what the eventual workflowwill be.
Test plans in hardware development
A test plan documents the strategy that will be used to verify and ensure that a hardware product or system meets its design specifications and other requirements. A test plan is usually prepared by or with significant input from
Depending on the product and the responsibility of the organization to which the test plan applies, a test plan may include one or more of the following:
*"Design Verification or Compliance test" - to be performed during the development or approval stages of the product, typically on a small sample of units.
*"Manufacturing or Production test" - to be performed during preparation or assembly of the product in an ongoing manner for purposes of performance verification and quality control.
*"Acceptance or Commissioning test" - to be performed at the time of delivery or installation of the product.
*"Service and Repair test" - to be performed as required over the service life of the product. A complex system may have a high level test plan to address the overall requirements and supporting test plans to address the design details of subsystems and components.
Test plan document formats can be as varied as the products and organizations to which they apply, but there are three major elements of a test strategy that should be described in the test plan: Test Coverage, Test Methods, and Test Responsibilities.
Test coverage in the test plan states what requirements will be verified during what stages of the product life. Test Coverage is derived from design specifications and other requirements, such as safety standards or regulatory codes, where each requirement or specification of the design ideally will have one or more corresponding means of verification. Test coverage for different product life stages may overlap, but will not necessarily be exactly the same for all stages. For example, some requirements may be verified during Design Verification test, but not repeated during Acceptance test. Test coverage also feeds back into the design process, since the product may have to be designed to allow test access (see
Design For Test).
Test methods in the test plan state how test coverage will be implemented. Test methods may be determined by standards, regulatory agencies, or contractual agreement, or may have to be created new. Test methods also specify test equipment to be used in the performance of the tests and establish pass/fail criteria. Test methods used to verify hardware design requirements can range from very simple steps, such as visual inspection, to elaborate test procedures that are documented separately as Test Cases under various Test Scenarios.
Test responsibilities include what organizations will perform the test methods and at each stage of the product life. This allows test organizations to plan, acquire or develop test equipment and other resources necessary to implement the test methods for which they are responsible. Test responsibilities also includes, what data will be collected, and how that data will be stored and reported (often referred to as "deliverables"). One outcome of a successful test plan should be a record or report of the verification of all design specifications and requirements as agreed upon by all parties.
:a) Test plan identifier;:b) Introduction;:c) Approach;:d) Test items;:e) Features to be tested;:f) Features not to be tested;:g) Item pass/fail criteria;:h) Suspension criteria and resumption requirements;:i) Test deliverables;:j) Testing tasks;:k) Environmental needs;:l) Responsibilities;:m) Staffing and training needs;:n) Schedule;:o) Risks and contingencies;:p) Approvals.
RUPtest plan template at [http://jdbv.sourceforge.net/RUP.html Sourceforge] (templates are currently inaccessible but sample documents can be seen here: [http://jdbv.sourceforge.net/Documentation.html DBV Samples] )
* [http://www.stellman-greene.com/testplan Test plans and test cases] from the [http://www.stellman-greene.com/aspm Applied Software Project Management] website (O'Reilly)
* [http://testingsoftware.blogspot.com/2005/11/what-is-test-plan_30.html What is a Test Plan?]
Wikimedia Foundation. 2010.