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

正解

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

この試験の他の問題