Condition Coverage
// Definition
A structural code coverage criterion that requires every individual boolean sub-expression within a compound condition to evaluate to both true and false at least once. Stronger than statement or branch coverage, but weaker than MC/DC (Modified Condition/Decision Coverage), which additionally requires each condition to independently affect the decision outcome. Frequently required in safety-critical software standards such as DO-178C.
// Related terms
Code Coverage
The percentage of source-code lines, branches, or statements executed during a test run. A useful but easy-to-game metric — high coverage doesn't guarantee good tests.
Test Coverage
A measure of which parts of the requirements or features have been exercised by tests. Distinct from code coverage — focuses on the spec, not the source.
Decision Table
A truth-table-style testing technique that maps every combination of input conditions to expected outputs. Best for rule-based logic with multiple inputs — exposes missing rules and conflicts at design time.