22.7 · Flakes, hermetic CI, and a quality system for a large team

A test suite is only as valuable as people’s trust in a red result. Flakes destroy that trust quickly, and at team scale the problem becomes organisational as much as technical.

Mental model. Every red build should mean something. Make tests hermetic so they fail for one reason, and organise the suite so feedback is fast where it matters.

Reliability

Where flakes come from, and what a hermetic CI run looks like.

  1. Why do tests flake, how do you find and fix them, and what makes a CI test run hermetic? 22.7.1 · L5
    A flaky test passes and fails on the same code. The causes are usually one of a few: time (real sleeps, timeouts too tight, dates and time zones), ordering and…

At scale

Tiers, ownership, coverage as a signal and release gates.

  1. How do you design a quality system for a large team: test tiers, ownership, coverage, flake budgets and release gates? 22.7.2 · L8
    At scale testing is a system with goals, owners and feedback loops, not a folder of tests. Start from what the team needs: fast feedback to developers, trust…

More in Testing