Wednesday, 3 October 2012

What is Modified Condition Decision Testing?

Modified Condition Decision Testing

Modified Condition Decision Testing requires a model of the source code which identifies decisions, outcomes, and the individual Boolean operands within the decision conditions. A decision is an executable statement which may transfer control to another statement depending upon the logic of the decision statement. A decision condition is a Boolean expression which is evaluated to determine the outcome of a decision. Typical decisions are found in loops and selections.

Test cases shall be designed to demonstrate that Boolean operands within a decision condition can independently affect the outcome of the decision.

For each test case, the following shall be specified:
- the input(s) to the component;

-   for each decision evaluated by the test case, identification of the combination of Boolean operands to be exercised by the test case, their values, and the outcome of the decision

- the expected outcome of the test case


  1. Great stuff. Keep up the good work. Decision Testing can be tricky but this breaks it down. Got your exam papers too. Worth the download for sure!

  2. Modified condition/decision coverage Every point of entry and exit in the program has been invoked at least once, every condition in a decision in the program has taken on all possible outcomes at least once, and each condition has been shown to affect that decision outcome independently.

    A condition is shown to affect a decision's outcome independently by varying just that condition while holding fixed all other possible conditions. The condition/decision criterion does not guarantee the coverage of all conditions in the module because in many test cases, some conditions of a decision are masked by the other conditions. Using the modified condition/decision criterion, each condition must be shown to be able to act on the decision outcome by itself, everything else being held fixed. The MC/DC criterion is thus much stronger than the condition/decision coverage.