← The field guide

SPECIMEN No. 007 Β· Confidence metric

Test Coverage

A number strongly correlated with the percentage of code executed by tests.

🌱 Protected
🏠 Habitat
CI dashboards
🦈 Natural predator
Meaningful assertions
πŸ€’ Common symptom
100%

βœ… GOOD FIT

  • Auth, payments and other paths auditors will ask about
  • Large teams where a hard gate survives deadline week
  • Compliance reviews that require a coverage number on file

🚩 TOO FAR

  • Tests assert nothing and the dashboard says 100%
  • Agents write tests over lunch just to satisfy the gate
  • A one-week experiment needs billing-grade coverage to merge

🎯 SWEET SPOT

Super Reasonable

Set a hard coverage floor on auth, billing and anything auditors read, and review the assertions, not only the percentage. Let experiments run lighter, and raise their bar the week they become something customers depend on.

IN THE WILD Β· 1 TAKE

Observed Test Coverage