State transition coverage: states, transitions and paths
There are three ways to say a state model is covered. Visit every state, use every valid move, or try every move in the table, including the forbidden ones.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: visiting a town. Seeing every square in a town is one goal. Walking every street is a bigger goal. Walking every route you could take is bigger still, and it may never end if the streets loop. You can do the first in an afternoon, and you must choose how far to go with the rest.
Daily List is a to-do list app. A task there moves from open to done, and from done to archived. Tom, the tester, has drawn these steps as boxes and arrows. His question is how many tests are enough. The answer depends on which goal he picks.
Visiting every box is . Using every allowed arrow is valid-transitions coverage. also tries every invalid state/event cell. A chain of arrows in one test, such as open, done, open again, is a transition path. Tom will see that a test can reach every box and still leave some arrows unused.
The picture has a limit. A town has a map that everyone shares. In software, the arrows come from a rule that someone wrote, and the real app may have extra moves that the map does not show.
(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 Choosing a state goal says how far the tests will go, from seeing every place to walking every route.
- Visit every state
- Use every valid move
- Try every cell of the state table
- Add chosen paths by risk
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| Seeing every square in the town | All-states coverage: every state visited |
| Walking every street | Valid-transitions coverage: every allowed move exercised |
| A street that is closed to walkers | A forbidden move, tried to prove the app refuses |
| A long walk through several streets in a row | A transition path of several moves |
| Streets that loop back on themselves | Loops that make the number of paths endless |
WHERE THIS PICTURE STOPS
- A town map is shared by everyone. A state diagram comes from rules that someone wrote, and it may miss real moves.
- A walker may simply refuse to enter a closed street. A test must try the forbidden move and check the app says no.
- A town has a fixed number of routes if you ban loops. A loop in a state model gives endless routes.
HOOK
Squares, streets, routes: pick how far to walk.
REMEMBER IT THIS WAY
A contrast: two neighbours told apart by one test.
Boxes ask which states were visited, arrows ask which moves were used, and paths ask which chains of moves matter. Pick the goal before counting tests.
| In the trick | What it stands for |
|---|---|
| Boxes | every state visited |
| Arrows | every move used |
| Paths | a chain of arrows in one test |
A test can reach every box and still leave some arrows unused.
TELL A FRIEND
Seeing every square is not the same as walking every street. A state model has the same ladder of goals.
OFTEN MIXED UP WITH State transition testing. State transition testing draws the states and moves and tests them. This lesson says how much of that drawing the tests should cover.
PRACTISE AND KEEP
Sources for this topic — 3 sources
- 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 state transition testing: coverage by all states, by valid transitions (also called 0-switch) and by all transitions in the state table (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
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: state transition, state table and the coverage terms built on them (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.
- Market practice
ISTQB CTFL syllabus v 4.0.1 ↗ — International Software Testing Qualifications Board · ISTQB CTFL v4.0.1, 15 September 2024; publisher PDF opened 6 November 2026. Sections 1.4.4 and 4.2–4.4 distinguish exercised coverage items, invalid isolation, branches and experience-based techniques.
Version 4.0.1, 15 September 2024. 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.