Software Testing / Learning brief
Tom lays two cake photos side by side
In simple terms / 01
What this means in plain language
An approval test is two cake photos laid side by side. Tom compares the Daily List weekly report with a saved copy and learns to check the first copy against a rule before he approves it.
Complete lesson / 02
Understand the full idea, step by step
You photograph the finished cake. A week later you photograph the new one and lay the two side by side. If they match, the compared appearance is unchanged. But a photo does not say the cake tastes good.
Tom does the same with the Daily List weekly report. He saves a copy and compares each new report with it.
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.
Approval test, golden master and snapshot test as taught in this academy. The people and the Daily List app are invented.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The report text was produced by running the code. The wording of the news item on characterization tests was not seen.
Sources for this brief — 5 sources
- Market practice
approvaltests (Python package description, Python Package Index) ↗ — Python Package Index (approvaltests project) · Approval tests compare output with a stored approved file, the golden master; if none exists the current output can be recorded; when output changes a diff opens and the person accepts it or fixes the code (search excerpt of a package page, official site not returned)
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
Snapshot Testing (Jest documentation) ↗ — Jest (OpenJS Foundation) · Snapshot files belong in version control and are reviewed like code; a failing snapshot is either a bug or an intended change; do not regenerate snapshots by reflex; keep them small (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 testing (InfoQ news item on Michael Feathers' idea) ↗ — InfoQ · Michael Feathers coined characterization tests: tests that record what code actually does, as a safety net before changing legacy code (search excerpt of results, wording of the page itself not seen)
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
Using Heuristic Test Oracles (Michael Kelly) ↗ — InformIT · Heuristic oracles are ways to judge a result that can be fallible (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: article as listed on the publisher's site. 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. Author attribution corrected from the author’s own bibliography https://www.michaeldkelly.com/articles, opened6 November2026. The InformIT article now redirects to its generic article index; article contents remain excerpt-only.
- 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.