Models that find defects in a specification, and automating test design
Learn how drawing a model of a specification exposes gaps and clashes. See which defects each model shows, and the gains and risks of generating tests.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: drawing a floor plan from a written description. A letter describes a house: a hall, two bedrooms and a kitchen. It reads well. Then you try to draw it. The kitchen door opens onto a wall. One bedroom has no door at all. The letter said nothing about the stairs. The words looked fine until a drawing forced every detail to be placed.
Daily List is a made-up to-do app. Tom, the tester, draws a state model of what a task may do. The drawing shows gaps in the written rule before anyone writes code. Later a tool can read the same drawing and write tests from it.
This lesson has two halves. First, how a model finds defects in a specification. Second, what a team gains and risks when a tool makes the tests.
The picture has a limit. A floor plan shows walls, but a model of behaviour shows time and order too.
(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 Using a drawing of a rule to expose what the words hide, and knowing what a generating tool will and will not cover.
- Draw: the words become a model
- Check: gaps, clashes and dead ends
- Generate: a tool writes tests from the model
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The letter describing the house | The written specification |
| The floor plan you draw from it | The model of the rule |
| A door that opens onto a wall | An unreachable state or a dead end |
| A builder who copies the plan exactly | A tool that generates tests from the model |
WHERE THIS PICTURE STOPS
- A floor plan shows walls, but a behaviour model shows order and time too.
- A builder follows a plan blindly, as a tool follows a model.
HOOK
Draw it and the gaps appear.
REMEMBER IT THIS WAY
A sequence: the real steps, in order.
Draw, check, generate: draw the model, check it for gaps, then let a tool make the tests.
| In the trick | What it stands for |
|---|---|
| Draw | Draw the model |
| Check | Check the model for gaps |
| Generate | A tool makes the tests |
TELL A FRIEND
Think of drawing a floor plan from a letter: the missing door shows up only when you draw.
OFTEN MIXED UP WITH Model-based testing. The earlier lesson explains how a tool makes tests from a model. This lesson adds the defects a model shows and the syllabus benefits and risks.
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 5.2.1 (TA-5.2.1, K3) using models to detect defects, printed pages 50-51: modelling helps phase containment in three ways (defects in specifications, defects in models, defects in test objects by model-based testing); data-based, behaviour-based and rule-based models and the defects each shows; typical defects in state transition diagrams, activity diagrams and decision tables; model-based testing tools and test selection criteria
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.5.2 (TA-3.5.2, K2) benefits and risks of automating test design, printed pages 41-42: nine benefits (defect prevention, extended capability, comprehensibility, less repetitive work, less maintenance because the model is the single source of truth, less defective testware, collaboration, traceability, output formats) and four risks (among them conditions missing from the model, model upkeep and models hard to read)
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
ISTQB Certified Tester Model-Based Tester (CT-MBT), certification page and syllabus v1.1 ↗ — International Software Testing Qualifications Board (ISTQB) · Model-Based Tester certification page, used for the link between models and test generation (search excerpt, page not opened)
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.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Daily List and its models are invented. The models are tiny so a reader can check them by eye. Real models are larger and need a tool.
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.