Istqb Certified Tester Foundation Level CTFL · Free Practice Question Medium
Question 37
Which of the following statements about branch testing is CORRECT?
-
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
Reveal correct answer
Correct answer: D
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
You must be logged in to post a comment.
