Skip to content

Testing decision rules: decision tables, MC/DC and coverage

How to test a decision rule: decision tables, test cases from a truth table, MC/DC with the engine's independence pairs, condition versus decision coverage, mutation testing, and the patterns behind eligibility, access-control and feature-flag rules.

A Boolean rule with five inputs has 32 cases; nobody tests all 32, and nobody should have to. These pages show the techniques that choose the few cases that matter and say what each technique can and cannot promise. Decision tables (the ISTQB Foundation technique) collapse the table into rules. MC/DC, the criterion aerospace software must meet, asks for a pair of cases per input that differ only in that input and flip the result; the engine computes those pairs. Mutation testing asks whether your tests would notice a changed operator.

Every example on these pages is a real rule computed by the engine: the discount rule, the free-shipping rule, the entry rule, the machine interlock, the loan rule. The MC/DC pages show the pairs the engine found for each input, or state that none exists and why.

The pattern pages are for analysts: how eligibility, access-control and feature-flag rules are usually shaped, the exceptions they usually forget, and the tests that catch them.

Questions

Does the app compute MC/DC coverage?

The app's coverage report measures input-value, gate-output, decision-outcome and input-influence coverage with published denominators, and suggests independence pairs for inputs whose influence your tests have not shown. The pages here use that same computation. The app does not certify MC/DC compliance; it gives you the pairs and the report.

Is coverage the same as correctness?

No, and the pages say so at every turn. A test suite with full coverage and wrong expected values passes a wrong rule. Expected values have to come from the requirement, not from the formula.

Generated from the Tangibool engine, semantics tangibool-semantics/1, engine 1.0.0, build . Every table, map, simplification and verdict on these pages was computed by the Tangibool engine when the site was built, and every claim was re-checked by the same exact checker the app uses. Limits are stated where they apply. © 2026 Foreranger LTD.