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.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications