Software Testing / Learning brief
Tom checks the library desk
In simple terms / 01
What this means in plain language
Three small rules, true before, after and always, tell a tester when a move went wrong. Tom checks a library desk and a Daily List move, and finds a task lost when the target list is missing.
Complete lesson / 02
Understand the full idea, step by step
At a library desk, the book must be on the shelf before a loan. After the loan, the shelf has one book fewer and the borrower has one more. All the time, the total number of books stays the same.
Tom borrows the idea for Daily List. A person moves a task from one list to another, and Tom writes the three rules for that move.
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.
Precondition, postcondition, invariant and before-and-after check 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 code and the counts were run to check each answer. The testing glossary definition of precondition and postcondition was not found. Review 7 November 2026: the prior access notes remain historical; current corrections use only the precise primary sections cited beside the changed explanations. Synthetic examples are not scheme, tool or legal certification.
Sources for this brief — 5 sources
- Market practice
Design by Contract (Eiffel course notes, Trinity College Dublin) ↗ — Trinity College Dublin (mathematics course notes) · A precondition is the caller's obligation, a postcondition is the supplier's obligation, and a class invariant is a property that must hold after creation and be kept by every routine (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
Design by Contract (lecture slides, University of Bern) ↗ — University of Bern (Software Composition Group) · Lecture slides on preconditions, postconditions and invariants in design by contract (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
Using Heuristic Test Oracles (Michael Kelly) ↗ — InformIT · A heuristic oracle is a way to judge a result that can be fallible, which is how a rule of what must be true is used in practice (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.
- Market practice
The Oracle Problem in Software Testing: A Survey (Barr, Harman, McMinn, Shahbaz, Yoo) ↗ — IEEE Transactions on Software Engineering, vol. 41, no. 5, 2015, pp. 507-525 · The oracle problem is the difficulty of deciding whether a result is correct (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: 2015, DOI 10.1109/TSE.2014.2372785. 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.