Software Testing / Learning brief
Tom lets a hundred lists loose
In simple terms / 01
What this means in plain language
Tom's three chosen lists all pass, but his sort has a bug. A story about a rule and a hundred random lists shows how a tool found a list with a repeated day, then shrank it to just two tasks.
Complete lesson / 02
Understand the full idea, step by step
If you pick three lists by hand, you pick the ones you thought of. A thousand random lists include ones you never would.
Tom has a sort that puts tasks in order of due day. His three lists all pass. He is not sure that three lists are enough, so he writes a rule and lets a tool hunt for a case that breaks 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.
Property-based testing as taught in this academy, with an invented app. The run used the Hypothesis tool, version 6.170.1, for this lesson.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The sorting picture is a teaching aid, and the function is a small example.
Sources for this brief — 7 sources
- Market practice
QuickCheck: A lightweight tool for random testing of Haskell programs (Claessen and Hughes, 2000 conference paper) ↗ — ACM · Properties are written as functions and tested on random inputs; users can write their own generators (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: International Conference on Functional Programming 2000, pages 268 to 279. 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 · The tool generates inputs and shrinks a failing input to a simpler one (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
Quickstart (Hypothesis documentation) ↗ — Hypothesis project · The given decorator with strategies such as integers and lists; by default 100 inputs are tried (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.
- 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.
- Market practice
Strategies Reference ↗ — Hypothesis project · Strategies define input domains and shrink behaviour; lists can specify an element strategy and size bounds, and integers can specify minimum and maximum values. (primary page opened and read, 2026-10-21)
Primary page opened and read on 2026-10-21. Scope is the claim described here; this does not upgrade earlier citations to other pages. Examples in Daily List are synthetic teaching examples.
- Implementation-specific
User Guide 1.10.2: assumptions and shrinking ↗ — Jqwik project · jqwik User Guide 1.10.2: Assumptions, Filtering and Result Shrinking. Primary sections opened 22 October 2026. The proposed-input counts below are invented, not a jqwik run.
The named primary sections were opened on the access date. The lesson does not generalise default counts or limits to other tools.
- Implementation-specific
FsCheck Quick Start: checking the property itself ↗ — FsCheck project · FsCheck Quick Start: FsCheck teaches us a lesson; F# float/NaN example and C# equality-comparer explanation. Primary body opened 22 October 2026.
Primary quick-start body opened and read on the access date. F# and C# examples differ in their handling of a special numeric value. Search behaviour in Daily List is an original teaching example.