QuestionQ205

Chapter 4: Test Analysis and Design

Which of the following statements concerning branch coverage is true?

  • A The minimum number of test cases needed to achieve full branch coverage, is usually lower than that needed to achieve full statement coverage.
  • B If full branch coverage has been achieved, then all unconditional branches within the code have surely been exercised.
  • C If full branch coverage has been achieved, then all combinations of conditions in a decision table have surely been exercised.
  • D Exercising at least one of the decision outcomes for all decisions within the code, ensures achieving full branch coverage.
Explanation

Full branch coverage means that every branch in the control-flow graph has been exercised. This includes unconditional branches as well as conditional branches, so all unconditional branches have necessarily been exercised. ISTQB CTFL Syllabus v4.0.1

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!