Model-based testing
Draw a small model of how the product should behave, make tests from it by rule, and change the model when the product changes.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: drawing a map and letting a walker plan routes over it. You draw towns and roads once. A walker then plans trips that use every road at least once. When a new road is built, you add it to the map and the walker plans again.
Daily List is a to-do list app. A task can be open, done or archived. Mei draws these three states as circles, and the moves between them as arrows. She labels each arrow: complete, reopen, archive, restore.
Tom does not write the checks one by one. He lets a small program walk the map and list routes that use every arrow. Then he turns each route into real steps in the app. Next month, Leo adds a new state. Mei changes the map, and the routes are made again.
This is model-based testing: deriving tests by rule from a model of intended behaviour. This example uses a drawing and a tool; textual models and manual derivation also exist.
The picture has a limit. A road map is true to the land. A is a simplified guess, and it can be wrong.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PLAIN WORDS · 1 in this section
- derivation
- working a value out from approved rules or sources
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 Making tests from a small drawing of expected behaviour, and changing the drawing when the product changes.
- Draw the model
- Pick a rule
- Make the routes
- Walk them for real
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The map of towns and roads | The test model |
| A trip plan on the map | An abstract test case |
| Using every road at least once | A coverage criterion |
| Walking the real road | The adapter and the real steps |
| A junction where the road forks, and the trip plans that take each fork | A choice in a workflow model and the routes through its outcomes |
WHERE THIS PICTURE STOPS
- A road map matches the land. A test model is a guess that can be wrong.
- A walker cannot take a road that is not drawn. A model misses what it leaves out.
- Maps are for travel. Models also need review.
HOOK
Draw once, walk the map, redraw when it changes.
REMEMBER IT THIS WAY
A rule of thumb: if you see this, think that.
If the product changes, usually redraw the model first and let the walker plan the routes again.
| In the trick | What it stands for |
|---|---|
| Circles | a task can be open, done or archived |
| Arrows | complete, reopen, archive, restore |
The change is a small wording fix that moves no state or arrow.
TELL A FRIEND
Drawing a map and letting a walker plan routes over it. When a new road is built, you change the map and plan again.
OFTEN MIXED UP WITH State transition coverage: states, transitions and paths. The state lesson shows levels of by hand. This lesson makes the tests from the model by a rule.
PRACTISE AND KEEP
Sources for this topic — 9 sources
- Market practice
ISTQB Certified Tester Model-Based Tester (CT-MBT), certification page and syllabus v1.1 ↗ — International Software Testing Qualifications Board (ISTQB) · The certification covers using models to design and run tests and builds on techniques such as state transition testing (search excerpt, page not opened) The syllabus text, read in full from a mirror copy of the publisher PDF (ISTQB syllabus CT-MBT v1.1, 23 February 2024), confirms the scope. Its chapters are an introduction to model-based testing, MBT modelling, selection criteria for test case generation, MBT test implementation and execution, and evaluating and deploying an MBT approach.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Syllabus v1.1. 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
Testing Software Design Modeled by Finite-State Machines (T. S. Chow, IEEE Transactions on Software Engineering, 1978) ↗ — Institute of Electrical and Electronics Engineers (IEEE) · Tests can be generated from a finite-state machine model of the design (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: IEEE Transactions on Software Engineering, vol. SE-4, no. 3, 1978. 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 · Section 4.2.4, state transition testing: tests cover states, transitions or sequences of transitions from a state diagram (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
Press release: Certified Tester Model-Based Testing v1.1 now available ↗ — ISTQB · Says CT-MBT v1.1 (24 April 2024) is a minor update of the 2015 v1.0 to align with CTFL v4.0, and that models extend classic techniques (equivalence partitioning, boundary value analysis, decision tables, state transition, use case). The 2015 syllabus has five chapters from introduction to evaluating and deploying MBT (search excerpt, page not opened)
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.
- Market practice
Model based testing ↗ — fast-check project · Commands use check(model), run(model, real) and toString(); the commands generator can shrink sequences. A separate simple model avoids comparing the system with a copy of itself. These are fast-check mechanics, not universal MBT rules. (primary page opened and read, 2026-10-21)
Primary page opened and read on 2026-10-21. Scope is the claim described here; this does not upgrade earlier citations to other pages. Examples in Daily List are synthetic teaching examples.
- Market practice
ISTQB Certified Tester Model-Based Tester (CT-MBT) Syllabus v1.1 ↗ — International Software Testing Qualifications Board (ISTQB) · Mirror copy of the publisher PDF (ISTQB syllabus CT-MBT v1.1, 23 February 2024), version checked against the document's own front matter, read in full text: MBT-1.1.1 (K2) expected benefits; MBT-1.1.2 (K2) misleading expectations and pitfalls (MBT solves all problems, MBT is just tooling, models are always correct, test case explosion will occur and can be addressed by changing the generation strategy and filters); MBT-1.2.1 (K2) activities specific to MBT; MBT-3.1.1 (K2) families of test selection criteria
Text read in full from a mirror copy of the publisher PDF (ISTQB syllabus CT-MBT v1.1, 23 February 2024), 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.
Specialist review 6 November 2026: Actual CT-MBT1.1 front matter and related §§2.1–2.3,3.1–3.2,4.1–4.2,5.1–5.2 reviewed. Body/AppendixC classification inconsistency disclosed; no source diagram reproduced. Professional certification guidance, not binding legislation or a formal ISO standard. Inherited full-text descriptions are not a claim that this audit read every PDF page.
- Market practice1.0 (2015); the current version is 1.1
Certified Tester Model-Based Tester Syllabus, version 1.0 (2015), ASTQB copy ↗ — International Software Testing Qualifications Board (ISTQB), copy hosted by ASTQB · Objective summaries seen in search excerpts: the benefits MBT is expected to bring, false expectations and pitfalls such as believing test case explosion cannot be avoided, what MBT adds to the test process, and families of test selection criteria (search excerpt, page not opened)
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.
- Market practice
ISO/IEC/IEEE 29119-8 public catalogue — model-based testing, under publication ↗ — International Organization for Standardization · Part 8 model-based testing is listed as a final draft in the approval phase; its scope is requirements and guidelines on applying model-based testing in line with the Part 2 processes, leaving out tool selection and the generation algorithm (search excerpt, page not opened)
Stable source ID retained although its legacy name says final draft. Only public catalogue body read; paid standard not read or reproduced. Do not infer publication date from page copyright2026.
- Market practice
Model-based testing project P29119-8, active project page (IEEE Standards Association) ↗ — Institute of Electrical and Electronics Engineers · The IEEE page lists Part 8 on model-based testing as an active project (PAR) (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). The standard text is sold, so put any detail 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.