Checkpoint: Test-First Repair
intermediate20 min readLesson 87 of 169
Diagnose a broken module through its failing tests — then fix it.
The most honest test of testing skill: a broken implementation and a good suite. Read the failures, understand the contract the tests describe, and repair the code — without touching the tests.
Working with AI: paste the failing test output and ask for hypotheses ranked by likelihood, not for the fix. Then verify each hypothesis yourself.