Software Testing / Learning brief
Tom stops trusting the scale
In simple terms / 01
What this means in plain language
A Daily List check goes red, green and red again with no change to the app, and the team starts to ignore it. A kitchen story of flaky checks, their causes and fixes that do not hide them.
Complete lesson / 02
Understand the full idea, step by step
You weigh flour and see 200 grams. You weigh the same flour again and see 205. Neither number is far off, but now you trust none of them, and you start guessing.
The Daily List team has a check that goes red on Monday, green on Tuesday and red on Wednesday. Nobody changed the app. People have started to say, just run it again.
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.
Flaky tests as taught in this academy, with an invented app. The order, timing and JavaScript runs were done for real.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The scale is a teaching picture. Timing counts are from one set of runs.
Sources for this brief — 7 sources
- Market practice
Flaky tests at Google and how we mitigate them (Google Testing Blog, 2016) ↗ — Google (Testing Blog) · Describes flaky tests at Google and the ways the team mitigates them (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
Eradicating Non-Determinism in Tests (Martin Fowler) ↗ — Martin Fowler · Names isolation, asynchronous behaviour and quarantine; advises polling or callbacks with a timeout instead of bare sleeps; quarantined tests need a deadline (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
Just Say No to More End-to-End Tests (Google Testing Blog, 2015) ↗ — Google · End-to-end tests are slow and flaky when they dominate; keep them few (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 promises (Mozilla developer docs) ↗ — Mozilla · It is easy to forget await, and a promise used as a value gives a type mismatch (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
The Practical Test Pyramid (Martin Fowler site, by Ham Vocke) ↗ — Martin Fowler / Ham Vocke · Many small fast checks, few slow ones (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
Waiting strategies (Selenium documentation) ↗ — Selenium project · Fixed waits and implicit waits can make timing unpredictable (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.