Relationship between coverage type and test design techniques
A test design technique is used to derive the necessary test cases that achieve the required coverage from a specific test basis. The first step of a test design technique is the identification of test situations. The test situations are derived by the application of coverage types. A test design technique suggests the application of one of more coverage types, and subsequently gives directions on how to turn the test situations derived by these coverage types into test cases.
The required coverage is expressed in the selected coverage types. Each coverage type requires a specific type of information in the test basis, e.g. a structured flow chart with paths and decision points.
Selection of Test design techniques for each coverage based approach
There exist many coverage types and test design techniques. For the sake of simplicity and practicality we will only highlight the most commonly used test design techniques and hence the application of the underlying coverage types.
To give you a practical overview we highlight the most commonly used coverage types and some test design techniques in which they can be applied.
|COVERAGE TYPE GROUP||TEST INTENSITY: LIGHT||TEST INTENSITY: AVERAGE||TEST INTENSITY: THOUROUGH|
|Condition||Condition Decision Coverage– Elementary Comparison Test||Condition decision coverage– Decision Table Test||Multiple Condition Coverage - Multiple Condition decision coverage – Decision Table Test|
|Data||One or some data pairs –Data Combination Test||Pairwise – Data Combination Test||N-wise or all combinations – Data Combination Test|
|Process||Statement coverage and Paths test depth level 1 –Process Cycle Test||Paths test depth level 2 –Process Cycle Test||
Paths test depth level 2 – Algorithms Test andPaths test depth level 3 – Process Cycle Test