QuestionQ17

VerifiedTest Automation

How many test cases are required to test code-fragment lines 26–32 and attain 100% condition determination coverage?

Explanation

Achieving 100% condition determination (MC/DC) coverage of a decision requires showing that each independent atomic condition in that decision can, on its own, change the decision's overall outcome while every other condition in the pair of compared test cases is held constant. For a compound decision composed of three independent atomic conditions, the minimum test suite satisfying this requirement is N+1 test cases — one baseline case plus one additional case per condition demonstrating that condition's independent effect — yielding four test cases in total. This N+1 formula is the standard basis the ISTQB syllabus uses for computing the minimum number of test cases needed for condition determination coverage of a multi-condition decision.

Community Discussion

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