qualitylab

Determinism

Tests bring their own world

tier II/cost to adopt: high/active

A suite that starts and tears down its own dependencies produces the same verdict on any machine, which is the precondition for treating red as information rather than as weather.

Do this firstOne command builds and tests the project from a clean checkout · Pin every dependency to an exact version

The suite starts what it needs, uses it, and destroys it. No shared database, no “make sure the service is running first”, no ordering between test files.

This is the expensive one on this sector and it is worth being honest about that: containerising a test environment is days of work and it will surface three pieces of hidden coupling you did not know you had. That surfacing is most of the value. The suite that emerges is slower per run and dramatically cheaper per failure, because a red result now means something.

The decoy

A shared staging database that everyone’s tests point at. It makes the suite pass on a laptop, which is the thing people are trying to fix, and it couples every engineer’s results to every other engineer’s timing.

Evidence

Seen in the wild

Anonymised field observation. Illustration, not evidence — these carry no tier and cannot raise one.

Last reviewed 2026-08-19.