TOPIC 10/5112 MINNOT STARTED

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.

  1. Visit every state
  2. Use every valid move
  3. Try every cell of the state table
  4. Add chosen paths by risk
Three goals, small to large

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
Seeing every square in the townAll-states coverage: every state visited
Walking every streetValid-transitions coverage: every allowed move exercised
A street that is closed to walkersA forbidden move, tried to prove the app refuses
A long walk through several streets in a rowA transition path of several moves
Streets that loop back on themselvesLoops 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.

What each part of the trick stands for
In the trickWhat it stands for
Boxesevery state visited
Arrowsevery move used
Pathsa 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
  1. 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)

    The examinable statement of what a foundation-level tester is expected to know: six chapters, 64 learning objectives, each tagged K1 Remember, K2 Understand or K3 Apply, plus the test-design techniques the qualification names and groups as black-box, white-box and experience-based.

    Used here for the test-craft questions a Payment Quality Assurance Analyst and a Production Support Analyst are asked. It is cited for what the syllabus says a tester must be able to do, never as a rule about how payments work. · Checked 2026-11-07

    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.

  2. 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)

    The board's glossary of testing terms. Cited for two definitions. An equivalence partition is a subset of a value domain for which a component or system is expected to treat all values the same. A boundary value is the minimum or maximum value of an ordered equivalence partition. · Checked 2026-10-12

    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.

  3. 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.

    Certification curriculum guidance on traceability, partitions, boundaries, decision tables, state transitions, structural coverage and experience-based testing; not a universal product contract. · Checked 2026-11-06

    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.