Pairwise testing
Most clashes come from two settings meeting, not five. So pick tests until every pair of values has met at least once.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a tasting event. Twelve different foods are laid out on the long table. You cannot make every full plate. Instead you make sure that every pair of foods meets on at least one plate. Cheese meets honey, honey meets olives, and so on. Few plates are needed, and most clashes show up, because a clash is usually between two foods and not between five.
Daily List is a to-do list app. Tom, the tester, has three settings to mix. The browser has 4 values, the plan has 3 and the device has 3. All the mixes would be 36 tests. He wants fewer tests that still make every pair of values meet.
This idea is called . It chooses tests so that every pair of values from two settings appears together at least once. The share of pairs met so far is the . Tom can build the set by hand, or use a fixed table called an orthogonal array. For his three settings he needs only 12 tests.
The picture has a limit. A tasting only sees pairs of foods, but software can break on three settings together. Pairwise testing finds many mix defects, not all of them.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PLAIN WORDS · 2 in this section
- pairwise
- covering every pair of values
- orthogonal
- balanced, so each pair of values appears evenly
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 Covering every feasible pair of values from distinct parameters reduces the selected interaction set; it does not guarantee finding most defects.
- List the settings and their values
- List all the pairs
- Pick tests that cover many new pairs
- Count the pair coverage until it is whole
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| A table of foods | The settings and their values |
| A plate holding a few foods | One test holding one value from each setting |
| Every pair of foods meeting on some plate | Pair coverage reaching the whole |
| Not every full plate is made | Not every mix is tested |
| A clash between three foods at once | A defect that needs three values and may be missed |
WHERE THIS PICTURE STOPS
- A tasting checks taste right away. A test needs a result written before it runs.
- Foods can be mixed in any order on a plate. Some settings in software depend on each other, and then some pairs cannot exist.
- A guest can tell a bad pair on sight. A tester finds it only if a test has that pair.
HOOK
Every pair meets once, not every plate.
REMEMBER IT THIS WAY
A contrast: two neighbours told apart by one test.
Full mixing builds whole plates. Pairwise just needs two values to meet on some plate, so ask which pairs have not met yet.
| In the trick | What it stands for |
|---|---|
| Plate | one test holding one value from each setting |
| Pair | two values from two settings together |
| Pair coverage | the share of pairs met so far |
A defect that needs three settings together can still be missed.
TELL A FRIEND
A tasting makes each pair of foods meet, not each full plate. A pair set does the same for settings.
OFTEN MIXED UP WITH Why combinations explode. shows how fast mixes multiply. is one answer to it, and it chooses a small set of mixes on purpose.
PRACTISE AND KEEP
Sources for this topic — 4 sources
- Market practice
Automated Combinatorial Testing for Software: Frequently Asked Questions ↗ — National Institute of Standards and Technology (NIST), Computer Security Resource Center · Frequently asked questions on combinatorial testing: most failures involve one or two parameters, so covering all pairs finds many of them, and pairs alone are not enough for every system (search excerpt, page not opened)
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.
- Market practice
ISTQB Certified Tester Foundation Level Syllabus v4.0.1 ↗ — International Software Testing Qualifications Board · Foundation Level syllabus v4.0.1, the section on equivalence partitioning with several inputs; pairwise testing itself is taught at a higher level (confirmed against the syllabus, read in full text from a mirror copy of the publisher PDF, v4.0.1, 15 September 2024)
v4.0.1 is dated 15 September 2024 and is a list of corrections to v4.0 (21 April 2023) that reworded six learning objectives — not a cosmetic reissue. 78 pages.
Two traps this entry exists to stop. v4.0.2 is the German edition (1 March 2025, 94 pages), so sorting by version number reaches the wrong document. And the widely-repeated per-chapter question allocation "8 / 5 / 4 / 11 / 9 / 3" is wrong: it is 8 / 6 / 4 / 11 / 9 / 2, derived from three official sample-exam answer keys and confirmed against the Exam Structure Tables.
The single most consequential detail for a question bank: white-box coverage — statement and branch — is K2 "Explain", not K3 "Apply" (FL-4.3.1, FL-4.3.2, FL-4.3.3), and MC/DC, path and condition coverage are declared out of scope in §4.3. A question asking a candidate to compute branch coverage is testing something this syllabus does not.
Read through a mirror, because the publisher's own domain could not be fetched (a reachability gap, not a statement about the publisher). A 403 there is a policy refusal and says nothing about whether the document exists or is reachable elsewhere.
Anyone on an unrestricted network should open the canonical URL above and confirm the section and page numbers cited against it. Every claim drawn from this entry is written so that it can be checked against a numbered page.
Read from two independent PDF-to-markdown conversions mirrored on raw.githubusercontent.com. They are treated as faithful because they were produced by unrelated parties with different tooling, agree on the full 64-item objective set including wording, and reproduce the same internal inconsistency present in the source PDF. Chapter 1 reads "testware that supports" where Appendix B reads "that support". A conversion artefact does not replicate across two toolchains.
The licence permits attributed non-commercial extracts and use as the basis for articles. Whether a site that sells a pass may rely on that is an owner's decision, not this entry's.
7 November 2026 review: actual publisher PDF 4.0.1, 15 September 2024, 78 pages, front matter/copyright and relevant numbered operative sections 0.5–0.10 and chapters 1–6 compared with CTFLpractice lessons. Earlier mirror/search descriptions are historical access records. TheK2 white-box objectives require explanation; the source does not justify a categorical ban on small numeric illustrations that support explanation. Later Exam Rules 1.2§4.1.4 usesK2 for keyword definitions, while syllabus§0.5 usesK1; keep dated scopes distinct. No copied questions or figure assets.
- Market practice
Downloadable tools (NIST Automated Combinatorial Testing for Software project) ↗ — National Institute of Standards and Technology (NIST) · NIST ACTS download page already in the registry; search excerpt of the NIST combinatorial testing pages.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. 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.
- Market practice
Interactions involved in software failures - NIST ACTS ↗ — NIST Computer Security Resource Center · Search excerpt of the NIST ACTS page 'Interactions involved in software failures', page not opened. No percentages used.
Found through a web search; the page was not opened (search excerpt, page not opened). 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.