← Everyone's take

TAKES · Riley answers

When should we add tests?

When should we add tests?“For the part that wakes me up at night.”Riley Novak, The Minimalist

💡 WHY RILEY IS RIGHT

A small share of the code produces most of the pages and data corruption. Tests on the scheduler, the migration and the money path buy most of the protection for a fraction of the upkeep, which beats a broad suite exercising getters.

✅ RIGHT WHEN

The incident history clearly points to a few fragile components.

🚩 TOO FAR WHEN

The quiet module finally breaks, and it turns out it was quiet because nothing ever checked it.

See all 12Riley's profile