Download OST-WeST - Specification
Transcript
CodeCover- Specification 98 3. transitivity |U ∩V | =1⇔V ⊆U |V | |V ∩W | =1⇔W ⊆V (V, W ) ∈ R ⇔ |W | |U ∩W | = 1 ⇔ (U, W ) ∈ R ⇒W ⊆V ∧V ⊆U ⇒W ⊆U ⇔ |W | (U, V ) ∈ R ⇔ (8) (9) (10) with T1 , T2 and T3 being three test cases and U = CT1 , V = CT2 and W = CT3 . Coverage View Test Case 1 Test Case 2 Test Case 3 Test Case 4 Test Case 5 Test Case 6 I Test Case 1 Test Case 2 Test Case 3 Test Case 4 Test Case 5 Test Case 6 Test Case 1 Test Case 2 Test Case 3 Test Case 4 0% Test Case 5 0 % - 33% 33 % - 66% 66 % - 100% Test Case 6 100 % Figure 3.24: Correlation View 3.11.2 Correlation View Using the definitions from 3.11.1, the view in Eclipse is defined as shown in figure 3.24. A tree is located on the left of the view. This tree shows the subsumption chains of test cases defined in 3.11.1. All the children of a node in the tree are completely covered by the node itself. The correlation matrix is located on the right side of the view. It shows all the test cases, that were used in the calculation of the correlation. The meaning of the colors is