Which of the following statements about branch testing is CORRECT?

Answer Options

A.If a program includes only unconditional branches, then 100% branch coverage can be achieved without executing any test cases
B.If the test cases exercise all unconditional branches in the code, then 100% branch coverage is achieved
C.If 100% statement coverage is achieved, then 100% branch coverage is also achieved
D.If 100% branch coverage is achieved, then all decision outcomes in each decision statement in the code are exercisedโœ“

Correct Answer

D: If 100% branch coverage is achieved, then all decision outcomes in each decision statement in the code are exercised

More Questions from This Exam