Software Testing / Learning brief

Tom lays two cake photos side by side

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.

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

REVIEWED 2026-10-18

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
  1. 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)

    Per the search excerpt, approval tests compare output with a stored approved file, called the golden master. If none exists, the current output can be recorded. When output changes, a diff opens and the person either accepts the new output or fixes the code. The official site was not returned. Practitioner guidance, not a standard. · Checked 2026-10-18

    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.

  2. 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)

    Per the search excerpt, 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 snapshots small. · Checked 2026-10-18

    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.

  3. 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)

    Per the search excerpt of search results, Michael Feathers coined characterization tests: tests that record what code actually does, not what it should do, as a safety net before changing legacy code. This page was one of several returned; its own wording was not seen. Practitioner guidance, not a standard. · Checked 2026-10-18

    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.

  4. 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)

    Practitioner article; cite for the idea that oracles are able to be wrong heuristics that suggest a problem rather than prove one. · Checked 2026-11-06

    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.

  5. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    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.

Learn this properly

START HEREApproval, golden-master and snapshot testingAn approval test compares a big output with a saved copy. It shows what changed, not whether the old copy was right, so a person must review the first copy and each change.Opens at L0 Explain simply · about 14 min

Related briefs