Software Testing / Learning brief
Tom halves the file until one line breaks it
In simple terms / 01
What this means in plain language
A random-input run crashes the Daily List import with a file of fifty task lines. Tom cuts it down by halves, watches for a new failure, and gives Leo a one-line file and a clear report.
Complete lesson / 02
Understand the full idea, step by step
A cook has a pot of soup with fifty ingredients and it tastes wrong. She pours half into a new pot and tastes it. Soon she knows which half holds the bad ingredient.
Tom has the same problem with a file. A random-input run has crashed the Daily List import, and the file holds fifty task lines.
Evidence & review / 03
Evidence & review
The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.
Shrinking a failing input by hand and with a tool, and writing a minimal reproduction, as taught in this academy, with an invented app and invented files.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were read as search excerpts and no page was opened. Real failures often need more than one part of the input.
Sources for this brief — 7 sources
- 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
How Hypothesis Works (Hypothesis project) ↗ — Hypothesis project · A page by the project's author saying a test library keeps a random input as a stream of bytes and simplifies that stream after a failure, so the built values become simpler too (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
When multiple bugs attack (Hypothesis project) ↗ — Hypothesis project · An article saying that when a shrink step finds a different bug, the library keeps the simpler example for each bug apart (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
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
How to minimize a bug reproduction case (BugNet blog) ↗ — BugNet · A blog post on cutting a bug reproduction down to the smallest case (registry entry; 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
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.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
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.