Combinatorial and random testing: base choice, pairwise and random draws
Learn base choice and pairwise coverage, how to cut a long list of values first, and when and why random testing is worth its limits.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: packing a travel bag. A traveller has three kinds of item to pack: a coat, a pair of shoes and a bag. Each kind comes in three styles. The traveller does not try all 27 outfits. One plan starts with a plain base outfit and swaps one item at a time. Another plan makes sure every two styles have been worn together once. A third plan pulls items out of a hat.
Daily List is a made-up to-do app. Tom, the tester, has three settings to mix: browser, plan and device. He tries the three plans and sees what each one costs and what each one misses.
The names are , pairwise coverage and random testing. Each trades effort against the chance of meeting a bad mix.
The picture has a limit. A traveller sees the whole outfit at once, but software may fail only when a rare mix meets.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PLAIN WORDS · 1 in this section
- pairwise
- covering every pair of values
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 Choosing how to sample the mixes of settings: one change at a time, every pair, or at random.
- Base choice: one change from the base
- Pairwise: every pair meets once
- Random: draws by a chosen distribution
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The plain base outfit | The base item of base choice coverage |
| Swapping one item at a time | Changing one setting to a non-base value |
| Every two styles worn together once | Pairwise coverage |
| Items pulled out of a hat | Random testing with a chosen distribution |
WHERE THIS PICTURE STOPS
- A traveller sees the whole outfit, but software may fail only for a rare mix.
- A hat has no chosen odds, but random testing has a distribution.
HOOK
Base outfit, every pair, or a hat.
REMEMBER IT THIS WAY
A contrast: two neighbours told apart by one test.
Base choice changes one thing at a time. Pairwise makes every two things meet, and random lets the odds decide.
| In the trick | What it stands for |
|---|---|
| Base choice | Base choice coverage changes one setting at a time |
| Pairwise | Pairwise coverage makes every pair of values meet |
| Random | Random testing draws by a distribution |
TELL A FRIEND
Think of packing a bag: a base outfit with one swap at a time, every two styles worn once, or items from a hat.
OFTEN MIXED UP WITH Pairwise testing. The earlier lesson builds pair sets by hand. This lesson adds , the syllabus insight and the two random distributions.
PRACTISE AND KEEP
Sources for this topic — 5 sources
- Market practice
Certified Tester Advanced Level Test Analyst (CTAL-TA) Syllabus v4.0 ↗ — US member board of the International Software Testing Qualifications Board · Mirror copy of the publisher PDF (ISTQB syllabus CTAL-TA v4.0 GA, 2 May 2025), version checked against the document's own front matter, read in full text: section 3.1.2 (TA-3.1.2, K3) combinatorial testing, printed pages 30-31: interaction failures; two approaches (configuration parameters and input data values); a parameter-value pair; base choice coverage; pairwise coverage; equivalence partitioning to cut values; classification trees and feature models; constraints and invalid combinations; most failures come from one value or a few interacting parameters; the coupling effect hypothesis
Text read in full from a mirror copy of the publisher PDF (ISTQB syllabus CTAL-TA v4.0 GA, 2 May 2025), version checked against the document's own front matter. The page at this URL was not opened. Licence terms were not read, so put it in your own words and do not quote it.
- Market practice
Certified Tester Advanced Level Test Analyst (CTAL-TA) Syllabus v4.0 ↗ — US member board of the International Software Testing Qualifications Board · Mirror copy of the publisher PDF (ISTQB syllabus CTAL-TA v4.0 GA, 2 May 2025), version checked against the document's own front matter, read in full text: section 3.1.3 (TA-3.1.3, K2) random testing, printed pages 31-32: test data chosen at random from the input domain by a probability distribution; operational-profile distribution for validation and usage-agnostic distribution for verification; guided and unguided random testing; no recognised coverage criteria, so exit criteria use the number of tests or the time; benefits and limitations
Text read in full from a mirror copy of the publisher PDF (ISTQB syllabus CTAL-TA v4.0 GA, 2 May 2025), version checked against the document's own front matter. The page at this URL was not opened. Licence terms were not read, so put it in your own words and do not quote it.
- Market practice
Glossary of testing terms from the International Software Testing Qualifications Board (equivalence partition, equivalence partitioning, boundary value) ↗ — International Software Testing Qualifications Board (ISTQB) · Glossary entries for combinatorial testing, pairwise testing and random testing (search excerpt, page not opened)
Seen as a search excerpt; the page was not opened. The authoring container could not resolve this publisher's host name when a fetch was tried on 12 October 2026 for related hosts, so this is a reachability gap and not a statement about the publisher. The glossary has an older and a newer version of the entry for equivalence partitioning; the newer one defines the partition rather than the technique.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Daily List and its settings are invented. The sets are small so a reader can count them by hand. Real tools build the sets for large lists.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
- Market practice
ISTQB CTAL-TA syllabus v 4.0 GA ↗ — International Software Testing Qualifications Board · ISTQB CTAL-TA v4.0 GA, 2 May 2025; publisher PDF opened 6 November 2026. Relevant technique and coverage sections: 3.1–3.3, selection 3.5, model review 5.2. Daily List is a synthetic worked application.
Version 4.0 GA, 2 May 2025; front matter checked. Publisher PDF opened 6 November 2026. Paraphrased for teaching; no licence claim.
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.