Quick Notes106 words
Metrics and queries for testing — quick notes
Testing metrics — quick notes
| Metric | Signals |
|---|---|
| Pass rate | Suite health |
| Flaky test rate | Believability of a red build |
| Duration | Feedback speed — and behaviour |
| Coverage of changed code | Whether new work is tested |
| Failures by area | Where quality is weakest |
- 99% pass rate + 4% flakiness ≠ healthy: every failure becomes ambiguous.
- Slow suites change behaviour — people batch changes to avoid waiting.
- Coverage shows lines executed, not assertions. Gate on changed code.
Prerequisite: none of this exists without published test results.