Test pass rate
The percentage of tests that pass in the most recent run — a simple health indicator for your test suite's current state.
// Formula
// About this metric
Test pass rate measures what proportion of test runs produce a passing result in the most recent test execution. It is the simplest readout of test suite health: if 1,140 out of 1,200 tests pass, your pass rate is 95%.
Pass rate is a lagging indicator of test suite health rather than product quality. A falling pass rate may mean the product has regressions, or that the test environment is unstable, or that a previously ignored flaky test is now consistently failing. Distinguishing between these causes requires looking at the failures rather than the number alone.
Most industry guidance treats 95% as the minimum healthy pass rate for a production test suite. Below 85%, engineers lose confidence in the suite and begin ignoring or skipping failures — at that point, the suite has become a source of noise rather than signal. There is no single authoritative benchmark source; 95%+ reflects general engineering consensus.
Pass rate is most meaningful as a trend metric: a suite that was at 99% last sprint and is now at 93% requires investigation, even though 93% might appear "acceptable" in isolation.
// Calculator
🧮 Calculator
// Benchmark
Source: Industry convention; no single authoritative source
A 100% pass rate consistently is a red flag — it usually means tests aren't catching real issues.
// When to use this metric
Use pass rate as a quick health check on your test suite's current state. Monitor it on a per-build basis in CI and alert when it drops below your threshold.
The most useful version of pass rate analysis distinguishes between consistent failures (a real regression) and intermittent failures (flakiness). Consistent failures should block the build; intermittent failures should be tracked separately via flakiness rate.
// Common pitfall
A 100% pass rate consistently is a red flag — it usually means tests aren't catching real issues, or that engineers are deleting or skipping failing tests rather than fixing the underlying problems. A healthy suite has occasional real failures that get investigated. If your pass rate never goes below 99%, audit how failures are being handled rather than congratulating yourself.