Combinatorial explosion

Combinatorial explosion image
Combinatorial explosion is the rapid growth in the number of possible combinations as variables and their values increase. Even simple systems can have millions of combinations, far too many to test exhaustively.

Why it matters: It explains why testing can't find every bug, and why techniques like pairwise testing exist. Showing the numbers helps stakeholders understand why an apparently obvious bug was missed.

In practice: Testers estimate how many combinations exist, then use risk, pairwise or combinatorial testing techniques to choose a manageable subset. A simple worked example is often the clearest way to explain the scale to non-testers.

Examples:

  • Twelve folders and files, each with three possible permissions, creating over 14 million combinations.
  • Using pairwise testing to choose a manageable subset of browser and operating system combinations.

Common pitfalls:

  • Trying to automate every combination, when the number is too large even for machines.
  • Picking combinations at random, rather than by risk or technique.

How do you test when there are too many combinations? Use techniques like pairwise testing, which cover every pair of values with far fewer tests, and focus on the combinations most likely to matter to users.
Explore MoT
Test Forward 2027 ยท Software Quality in the age of AI image
Tue, 19 Jan 2027
Test Forward is one afternoon at Station F with the QA and engineering people closing that gap in their own teams.
MoT Software Testing Essentials Certificate image
Boost your career in software testing with the MoT Software Testing Essentials Certificate. Learn essential skills, from basic testing techniques to advanced risk analysis, crafted by industry experts.
This Week in Quality image
Debrief the week in Quality via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter