QuestionQ21

VerifiedTesting in Agile

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

Explanation

For three Boolean conditions, 100% multiple-condition coverage requires executing all possible true/false combinations. There are 2^3 = 8 such combinations.

Community Discussion

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