The Tech Meta

An inside look at tech's evolving playbook

Test coverage measured

Test observed

Test coverage is measured.

The share of the code that the tests run is measured, line by line or branch by branch, and often reported on each pull request by a service such as Codecov or Coveralls. It shows what no test touches; it does not say whether the tests check the right things. The site counts a repo when it holds a coverage config (Codecov, Coveralls, coverage.py, nyc, c8 and the like), or when a workflow uploads coverage or runs the tests with a coverage flag. That coverage is measured is read, not its figure.

  • Pro scene today: 34%, 76 of 221 pro repos
  • In three months: +1 pt (5 pro repos added it, 1 removed it)
  • Kept: 84%, 72 of 86 that had it 3 months ago or before

Pro 34% · Ladder 25% · 1.4×

In the pro repos

The 6 most starred of the 76 pro repos that have it today.

By month

MonthPro scene
June 202526%
July 202527%
August 202527%
September 202527%
October 202526%
November 202527%
December 202528%
January 202629%
February 202632%
March 202633%
April 202634%
May 202632%
June 202633%
July 202634%
August 202634%
September 202633%
October 202633%
November 202633%
today34%

Evidence

Observed in the repos only: no published study is quoted for it yet.

How it is detected

Looks for a Codecov, Coveralls, coverage.py, nyc, c8, SimpleCov or tarpaulin config, a coverage upload action, or a coverage flag or tool in a workflow's commands. Read in repo files. How the method counts

Related practices

More in Test, the most adopted first.

Levels of evidence