Testing Glossary
Health Score
A composite metric that summarizes the overall reliability and performance of a test suite into a single, easy-to-interpret value.
A health score distills multiple quality signals — pass rate, flakiness, duration trends, and coverage — into one number or grade that teams can track over time. Instead of asking engineers to mentally combine a dozen dashboards, a health score provides an at-a-glance answer to the question: "How trustworthy is our test suite right now?"
What Goes Into a Health Score
The exact formula varies by tool, but common inputs include the pass rate (percentage of tests passing on the default branch), the flaky test count (tests that flip between pass and fail without code changes), test duration trends (whether the suite is getting slower), and coverage deltas (whether new code is being tested). Each input is weighted based on its impact on developer experience and release confidence.
Why It Matters
Without a composite metric, quality degradation tends to happen gradually and go unnoticed. A suite might accumulate three flaky tests one month, add 45 seconds of runtime the next, and lose a few percentage points of coverage the month after. None of these changes individually triggers alarm bells, but together they significantly reduce the suite's value. A health score surfaces these compound effects early.
Using Health Scores in Practice
Teams often display health scores on dashboards, in pull request checks, or in Slack notifications. Some organizations set thresholds — for example, blocking a deploy when the health score drops below a defined level. Others use trends rather than absolute values, alerting when the score declines for several consecutive days.
Health scores are also useful for cross-team comparisons in larger organizations. Rather than comparing raw numbers that vary by project size and language, a normalized score lets engineering leadership identify which teams might need additional support or tooling investment.
By reducing complexity to a single actionable metric, health scores help teams stay proactive about test suite quality rather than reacting after problems have already impacted delivery.
Related Terms
Monitor Your Test Suite Health
TestGlance tracks test results, detects flaky tests, and surfaces health trends automatically.
Get Started