Testing an application with few or no tests
An old product with few tests is risky to change. Map the risk, record what it does today, add checks around the next change and grow from there.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: moving into an old house. You do not rewire the whole house on day one. First you find the main switch and the water shut-off valve, so you know how to shut things off. Then you repair one room at a time, and you note what each room does before you change it.
Daily List is a to-do list app. Years ago it gained a calendar import that reads dates from a file. It works, many users rely on it, and nobody wrote tests for it. Leo must change it next week. Mei asks Tom for a plan.
Tom does not try to test everything, so he first finds out what the import does and who depends on it. He draws a , a simple picture of which parts matter most and may break. He writes characterisation tests: tests that record what the import does today, right or wrong. He starts with the part Leo will touch.
The old import is a here: a working product that people rely on but that has few or no tests.
The picture has a limit. A house stays still while you work. A live product keeps running, and users keep using it.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PLAIN WORDS · 2 in this section
- rewire
- put in new electric wires
- characterisation
- a description of what something is like
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 a risky old product safer to change, one room at a time.
- Find the switches
- Note each room
- Repair one room
- Look again
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| Moving into an old house | Taking over a legacy application |
| The main switch and stopcock | The risk map |
| Noting what each room does | Characterisation tests |
| Repairing one room | One small change |
WHERE THIS PICTURE STOPS
- A house stays still. A live product keeps running and users keep using it.
- A house has one owner. A product has many users who may rely on odd behaviour.
- A house shows its damage. Software hides faults until a user finds them.
HOOK
Find the switch, note the room, change one thing.
REMEMBER IT THIS WAY
A sequence: the real steps, in order.
Before you change old code, ask what it does today, who depends on it, and which part Leo will touch.
| In the trick | What it stands for |
|---|---|
| What it does | characterisation tests record what the import does today |
| Who depends on it? | a risk map shows which parts matter most |
| Which part? | he starts with the part Leo will touch |
TELL A FRIEND
Moving into an old house: find the main switch, note what each room does, repair one room at a time.
OFTEN MIXED UP WITH Testing when there is no clear spec. The lesson on testing without a spec teaches how to learn what a product should do. This lesson adds recording what it does today.
PRACTISE AND KEEP
Sources for this topic — 5 sources
- Market practice
Characterization testing (InfoQ news item on Michael Feathers' idea) ↗ — InfoQ · Michael Feathers' idea: a characterisation test records what the code does now, not what it should do (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. 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
Characterization test (Wikipedia) ↗ — Wikipedia · The term characterisation test was coined by Michael Feathers; such tests describe actual behaviour and guard against unplanned change (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. 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
Characterization tests before refactoring legacy code (freeCodeCamp) ↗ — freeCodeCamp · Write down inputs, outputs and edge cases first; a failing characterisation test may point to a bug to log, not a broken test (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. 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
Maintenance testing (Software Test Pilot study notes on the testing syllabus) ↗ — Software Test Pilot · Maintenance testing follows a change to a live system; impact analysis scopes the regression testing (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. 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 2.3 on maintenance testing and impact analysis, and section 5.2 on risk-based testing (confirmed against the syllabus, read in full text from a mirror copy of the publisher PDF, v4.0.1, 15 September 2024) | Publisher PDF v4.0.1,15 September2024, relevant cited section opened6 November2026; synthetic Daily List applications are editorial examples.
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.
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.