Classification trees
Draw the kinds of input as a tree, with the values at the leaves. Read tests off by picking one leaf from each branch. A table under the tree shows what each test covers.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a family tree for test inputs. A family tree shows branches for each side of a family. At the ends are the people. To meet one person from each branch, you walk down each branch and pick one name. A works the same way. The branches are the kinds of input, and the leaves are the values you can pick.
Daily List is a to-do list app. Tom, the tester, tests the screen where a user adds a task. The screen takes a title, a due date, a repeat rule and attachments. He draws a tree. A classification is a way of splitting an input into kinds, drawn as a node in the tree. A class is one group within a classification, such as 'past date' or 'future date'.
A classification tree is a diagram of classifications and classes used to build test cases. Under the tree Tom draws a table. Each row is a test, and a mark shows which class that test uses from each branch.
The picture has a limit. A family tree has real people at the ends. A test tree has groups of values, so one leaf stands for many possible values, and the tester must pick one.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
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 tree of the kinds of input, with values at the leaves, gives a plan where every test is one leaf from each branch.
- Split the input into classifications
- Split each into classes
- Pick one class from each
- Cross out forbidden mixes
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The family tree | The classification tree |
| A side of the family | A classification, such as due date |
| A person at the end of a branch | A class, such as past date |
| Meeting one person from each side | A test with one class from each classification |
| A cousin who cannot marry a cousin | A rule that forbids a mix |
WHERE THIS PICTURE STOPS
- A family tree has real people at the ends. A test tree has groups, so one leaf stands for many values.
- People belong to one family line. Test values must also be sorted into one class each, and that takes care.
- A family tree grows by itself. A test tree is drawn by a tester, so two people may draw it differently.
HOOK
One leaf from every branch makes one test.
REMEMBER IT THIS WAY
A chunk: a long list grouped so it is easier to hold.
Tree, leaf, row: split the input into branches, pick one leaf from every branch, and each row is one test.
| In the trick | What it stands for |
|---|---|
| Branch | A classification, a way of splitting an input into kinds |
| Leaf | A class, one group such as past date |
| Row | A test with one class from each branch |
TELL A FRIEND
A family tree shows branches and the people at the ends. A shows kinds of input and the values at the ends.
OFTEN MIXED UP WITH Pairwise testing. picks tests so that every pair of values meets. This lesson draws the input as a tree first. The values and rules are then in view, and a pair method can fill the table.
PRACTISE AND KEEP
Sources for this topic — 3 sources
- Market practice
Classification trees for partition testing ↗ — Software Testing, Verification and Reliability, volume 3, pages 63 to 82 (Matthias Grochtmann and Klaus Grimm) · Classification trees for partition testing: classifications split the input, classes are the disjoint groups in each, and test cases join classes from the leaves (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Journal article; the publication year was not established in this batch. 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
Glossary of testing terms from the International Software Testing Qualifications Board (equivalence partition, equivalence partitioning, boundary value) ↗ — International Software Testing Qualifications Board (ISTQB) · Glossary of testing terms: classification tree method (general knowledge, 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.
- 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.