Dervo Global logoDervoGlobalAll articlesContact
Insights › Testing
Testing

MC/DC explained: how many test cases you really need

Dervo Automotive team · 23 October 2026 · 2 min read

Modified condition/decision coverage in plain words, with a worked example, the N+1 rule and what to do when a condition cannot be covered.

MC/DC (modified condition/decision coverage) is the strictest structural coverage metric in common use. ISO 26262-6 highly recommends it for ASIL D software units, and DO-178C requires it for Level A avionics software. It sounds complicated, but the idea is simple.

The rule

A decision such as if (A && (B || C)) is made of conditions (A, B and C). MC/DC needs, for every condition, two test cases that:

That pair proves the condition independently affects the result. It is called an independence pair.

A worked example

Take A && (B || C). Four tests are enough:

T1 and T2 show A (only A changed, outcome changed). T1 and T3 show B. T3 and T4 show C.

How many tests?

When a condition has no pair

Sometimes no pair exists, for example in A && !A || B, where A can never change the outcome on its own. This usually means:

Tips for test teams

Try it

Paste any decision into our free MC/DC test case generator to get the minimal test set, the independence pairs and the full truth table, with an Excel export for your test specification.

Need structural coverage evidence for an ASIL C or D release? Talk to a Dervo Automotive engineer.
ShareLinkedInWhatsApp

Need help with this?

Dervo Global supports automotive programs with testing and engineering, and growing businesses with simple CRM and HR & Payroll tools.

More articles