← Everyone's take

TAKES · Ruth answers

When should we add tests?

When should we add tests?“The tests are why it's worked since 2003.”Ruth Lindqvist, The Maintainer

💡 WHY RUTH IS RIGHT

Long-lived systems survive turnover, language upgrades and framework churn because their tests record what must keep working. Each regression test is a past incident in executable form. Without them, code becomes unchangeable once its authors leave, which is how systems end up frozen or rewritten.

✅ RIGHT WHEN

The system will outlive its current team and must keep changing safely.

🚩 TOO FAR WHEN

Nobody dares delete a test from 2006, because nobody remembers what it protects.

See all 12Ruth's profile