Skip to main content

Test conditions and coverage items

Sections [krok1] [krok2] [krok3] of the section 9.3.3 from the Textbook

Step 1. Identifying the subject and test elements.
We have one test element – the Bisection function.
 
ET1: Bisection
 
Step 2. Deriving test conditions.
Test conditions are basic blocks containing decisions. In Figure 9.3, these blocks are marked in gray. All conditions correspond to test element ET1.
 
WT1: B1;
WT2: B3;
WT3: B4;
WT4: B6;

WT5: B8.