White-box test techniques · Question 45 of 60
A requirement calls for an age check when buying energy drinks, but the developers forgot it. The tests achieve 100% branch coverage. What does this case show?
1 answer is correct. Hard Created with AI
Show answer
Answer
- B White-box tests do not find omissions because missing code cannot be covered
Explanation
A strength of white-box testing is that it considers all existing code; requirements that were never implemented, however, it hardly finds. Specification-based tests are needed for that.