TOPIC 21/5112 MINNOT STARTED

Constraints and must-have tests in combinations

Tell the pair table which mixes cannot exist and which one you insist on. Then raise the group size from pairs to threes only where the risk is worth the extra tests.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: planning outfits for a trip. You want to try different tops with different trousers and shoes. But sandals are not for snow. Some mixes are impossible, and a plan that includes them is wasted. Some mixes you must wear anyway, such as the coat you will use every day. A good plan drops the first kind and keeps the second.

Daily List is a to-do list app. Tom, the tester, mixes four settings. They are the plan, the calendar connection, the device and the alert type. The earlier lesson showed how pairs of values can be covered with few tests. Now Nina, the product owner, adds two facts. The free plan cannot use the calendar connection, and one mix is the one she cares most about.

A constraint is a rule that forbids certain combinations of values. A is a combination you insist on including, often because it is common or risky. Tom also learns , which covers every group of N parameters, such as three at a time.

The picture has a limit. In a suitcase you see what you packed. In software, a lives in code, and the team must tell the tool about it.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)

PLAIN WORDS · 1 in this section
constraint
a limit or rule that restricts what can be done

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB A pair table works best when it knows which mixes cannot exist, which mix must appear and how many settings must meet at a time.

  1. Write the constraints
  2. Name the seeds
  3. Build the set
  4. Raise N where the risk is high
Four moves for a better table

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The trip planThe combination model
Sandals in the snowA constraint, a mix that cannot exist
The coat you wear every dayA seed test, a mix you insist on
Trying every two items togetherPairs
Trying every three items togetherN-wise testing with N of three

WHERE THIS PICTURE STOPS

  • In a suitcase you can see the sandals. In software the rule that forbids a mix lives in code.
  • A traveller chooses a few outfits by feel. A tool needs the rules written down.
  • Wearing three items together is easy to check by eye. Threes in software grow in number fast.

HOOK

Rules out, must-haves in, then size up.

REMEMBER IT THIS WAY

A contrast: two neighbours told apart by one test.

Constraints define permitted configurations; seeds request rows under the chosen tool. Validate feasibility and coverage without assuming a fixed suite-size change.

What each part of the trick stands for
In the trickWhat it stands for
ConstraintA rule that forbids certain combinations, like sandals in the snow
SeedA combination you insist on including, like the daily coat

TELL A FRIEND

A trip plan drops sandals for snow and keeps the daily coat. A pair table drops impossible mixes and keeps seeds.

OFTEN MIXED UP WITH Pairwise testing. covers every pair of values with few tests. This lesson adds rules that remove impossible mixes, must-have mixes and larger groups.

PRACTISE AND KEEP

Sources for this topic — 3 sources
  1. Market practice

    Automated Combinatorial Testing for Software: Frequently Asked Questions ↗ — National Institute of Standards and Technology (NIST), Computer Security Resource Center · Frequently asked questions: most failures involve one or two parameters, fewer involve three or more, so pairs alone are not always enough (search excerpt, page not opened)

    Free to read. Says most software failures involve one or two parameters, fewer involve three or more, and that testing all pairs is not enough on its own. Cite by question heading. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Project page as listed on the publisher's site; no edition number found. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    ACTS combinatorial test generation tool ↗ — National Institute of Standards and Technology (NIST) · NIST tool page: generates t-way test sets with constraint handling and mixed strength (search excerpt, page not opened)

    Free to read. Says the tool builds t-way test sets for t from 1 to 6, handles constraints and supports mixed strength. No excerpt found said how it treats seed tests. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Project page; the user guide named in search results is dated November 2023. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Pairwise Testing in the Real World: Practical Extensions to Test-Case Scenarios ↗ — Microsoft (MSDN, software testing archive) · Pairwise testing in the real world: constraints remove impossible combinations during generation and seeds name rows that must appear (search excerpt, page not opened)

    Free to read. Search excerpts say impossible combinations are best removed while the set is built, not by deleting rows afterwards, and that seed rows are honoured only when they obey the rules. Cite for those two points only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Archived article; no edition number found. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.