Narrowing down where a bug comes from
Once you can repeat a bug, cut it down. Change one thing at a time until only the steps and data that matter are left. The short list points at the cause.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: the lights go off at home. The lights go off in your house. You do not call the electrician at once. You switch off devices one by one. When the lights stay on after the kettle goes off, you have found the culprit.
Tom, the tester at Daily List, a to-do list app, can now repeat a bug every time. A long list of steps makes it fail. But which steps matter?
Isolation is cutting a failing case down to the smallest steps and data that still fail. Tom tries each step and each piece of data on its own.
The result is a : the shortest set of steps that shows a defect. A short list is easy for Leo, the developer, to follow.
Each thing Tom changes is a variable: one thing that can be changed between two runs. He changes only one variable at a time, so he knows which change mattered.
The picture has a limit. A fuse blows for one reason. A software bug may need two things at once, so removing either one hides it.
(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 Cutting a failing case down, one thing or one half at a time, while it keeps failing the same way.
- Change one thing
- Cut by halves
- Run again
- Same failure?
- Keep or put back
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| Switching off devices one by one | Changing one variable at a time |
| Switching off half the house, then the other half | Removing half the input, then the other half |
| The lights stay on | That variable is not needed |
| The lights go off | That variable matters |
| Switching off a whole circuit, not one wire | Cutting by whole pieces such as a line |
| Checking the same lights trip, not a new fault | Checking it is the same failure |
| Nothing more can be switched off | A locally minimal input |
| The culprit | The minimal reproduction |
WHERE THIS PICTURE STOPS
- A fuse blows for one reason. A bug may need two things together.
- You can switch a device back on without harm. Some test steps change data and cannot be undone.
- A home has a few devices. A feature can have many variables.
- At home, nothing more to switch off means the culprit is found. A locally minimal input may not be the smallest that could fail.
HOOK
One change, one run.
REMEMBER IT THIS WAY
A sequence: the real steps, in order.
Remove half and run again. If the same failure still happens, keep the smaller input; if not, put the half back and try the other half.
| In the trick | What it stands for |
|---|---|
| Remove half | Remove half and run again |
| Same failure | the same failure still happens |
| Put back | put the half back and try the other half |
TELL A FRIEND
At home you switch off devices one by one, or half at a time, to find the culprit. A tester cuts a failing case down while it fails the same way.
OFTEN MIXED UP WITH Reproducing a bug every time. The reproducing lesson shows how to make a bug fail every time. This lesson cuts that failing case down to its smallest form.
PRACTISE AND KEEP
Sources for this topic — 10 sources
- Market practice
A Methodical Approach to Dealing With Bugs (8th Light) ↗ — 8th Light · Article on dealing with bugs: once a bug is reproduced, remove variables until you reach the simplest case that still fails, and remove one at a time so you know which one mattered (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
How to minimize a bug reproduction case (BugNet blog) ↗ — BugNet · Guide to cutting a bug reproduction case down: start from the full reproduction, remove or simplify one element, and stop when removing anything more makes the bug vanish (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
Foundation Level testing syllabus, 5.5 Defect Management (US member board of the International Software Testing Qualifications Board) ↗ — American Software Testing Qualifications Board (ASTQB) · Foundation Level 5.5 Defect Management, as published by a member board: a defect report gives the information needed to reproduce and fix the defect (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. It relays the same syllabus as the registered syllabus entry and adds no independent rule.
- Market practice
Test-case reduction for C compiler bugs (Regehr and others, PLDI 2012 preprint) ↗ — University of Utah (author preprint) · A conference paper saying that reducing a failing C program by cutting text often leaves it too large or invalid, and that tools which know the language reduce it much further (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Programming Language Design and Implementation conference, 2012. 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
Minimal bug reports (Dask project blog) ↗ — Dask project · A project blog post on writing minimal bug reports; the checklist of minimal, complete and verifiable was seen in search summaries of Stack Overflow's help article as mirrored on other sites (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; read as a search excerpt only. 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
Simplifying and Isolating Failure-Inducing Input (Zeller and Hildebrandt, Institute of Electrical and Electronics Engineers Transactions on Software Engineering, 2002) ↗ — Saarland University · The paper describes an algorithm that takes a failing input and removes parts by repeated testing until no single part can be removed without the failure going away; it splits the input, tests each part and the rest, and splits finer when nothing fails (search excerpts, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Transactions on Software Engineering volume 28 issue 2, pages 183 to 200. 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
RFC 9110: HTTP Semantics ↗ — IETF (RFC Editor) · Status classes from RFC 9110 (4xx client error, 404 not found, 5xx server error) - registered, search excerpt. The four-question routine is the lesson's own teaching choice, answering a Quora learner question; no source claims it.
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
Rubber duck debugging ↗ — Wikipedia · Wikipedia. Search excerpt, page not opened. The Pragmatic Programmer book itself was 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
Providing Reproduction Steps (Phorge contributor guide) ↗ — Phorge project · Reproduction steps should be simple and minimal, without unnecessary steps, and complete enough for a clean install (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
Certified Tester Advanced Level Test Analyst (CTAL-TA) Syllabus v4.0 ↗ — US member board of the International Software Testing Qualifications Board · ISTQB CTAL-TA v4.0 GA,2 May2025, publisher PDF opened6 November2026: §1.2.4 and §1.3 for anomalies, case quality/levels, environment/oracle/data; §2.2 regression selection; §3.4 experience-based approaches; §5.2 review techniques. Apply only the relevant lesson claim, not universal process mandates.
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.
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.