Condition Coverage

With Condition coverage the possible outcomes of (“true” or “false”) for each condition are tested at least once. This means that  each individual condition is one time true and false. In other words we cover all conditions, hence condition coverage.The outcome of the decision point is only relevant for checking the conditions. Also the combinations of conditions are not relevant. Since there are only two possible outcomes of a condition (true or false), condition coverage results in 2 test situations per decision point.

Number of books > 8 Sum >= EUR 250  Outcome
1 0 1 (extra discount)
0 1 1 (extra discount)

In practice this coverage type is not used very often for the testing of the combinations of the conditions and/or the outcome of the decision point itself is considered to be more important.