Modified Condition/Decision Coverage (MCDC) is a code coverage criterion used in software testing. It ensures that all outcomes of atomic conditions affecting decision outcomes are tested.
Key Features:
- Atomic Conditions: Each condition within a decision must be tested independently.
- Decision Outcomes: All possible outcomes from decisions must be covered by test cases.
- Comprehensive Testing: MCDC provides thorough validation of logical expressions in code.
MCDC is particularly important in safety-critical systems where ensuring correct logic is vital.
