← Everyone's take

TAKES · Hugo answers

When should we add tests?

When should we add tests?“Always. I'll write them tonight.”Hugo Demir, The Perfectionist

💡 WHY HUGO IS RIGHT

Untested code is not cheaper: its cost moves to whoever fixes the regression at 11pm without knowing what the code was meant to do. A test written with the change is cheapest, because context is fresh. Without a fixed habit, deadline pressure wins every negotiation.

✅ RIGHT WHEN

Customers depend on the code and regressions are expensive to diagnose.

🚩 TOO FAR WHEN

The landing page with ten visitors has mutation testing and a flaky end-to-end suite.

See all 12Hugo's profile