Loading lesson…
Level 1 · Apprentice0 XP
Why tests fail randomly, how to find the cause, and how to keep the suite trusted.
Step 1 / 6
ProblemOne build in five fails for no reason. The team habitually presses 'rerun'. A real race condition in payments is dismissed as 'flaky' for a month.
← → step
Before this: Test data: builders, fixtures and isolation
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Find the flakiest test in a project (CI history or a loop of 200 runs), identify its cause (time, order, async, network or randomness), fix it, and write a short quarantine policy for the team.