Decision Coverage.
-
Testing the boolean expressions which are not in control structures
-
Entire expression is considered as boolean expression irrespective of logical-and and logical-or operators
-
Coverage except switch-statement cases, exception handlers
-
All of the above.
Reveal answer
Fill a bubble to check yourself
B
Correct answer
Explanation
Decision coverage (also called branch coverage) requires that each decision point takes both true and false outcomes. It treats the entire boolean expression as a single decision - the expression as a whole must evaluate to both true and false, regardless of AND/OR operators within it. This differs from condition coverage which requires each sub-condition to be tested.