White-box test techniques · Question 42 of 60
For the same function with the two independent decisions without else branches, 100% branch coverage is to be achieved. What is the minimum number of test cases?
1 answer is correct. Hard Created with AI
Show answer
Answer
- B 2
Explanation
Each decision needs a true and a false outcome. One test with both true and one with both false cover all branches.