Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

coverage

Python code coverage measurement tool, tracking which code is executed and generating coverage reports.

Testing PyPI Apache-2.0

Used in agent projects
22
0.2% of 12,697 public repos built with AI coding agents
Rank in testing
#39 of 40
by use in those projects
Downloads
71M
PyPI, last 7 days, coverage
GitHub stars
3,415
last push Oct 10, 2026

How coverage is used

coverage is a dependency in 22 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #39 of 40 in testing. The most used alternative there is Vitest. Projects that use it most often also use pytest (90.9%), Pydantic (68.2%), Requests (63.6%).

Often used with coverage

pytest90.9% of coverage projects · 35.0× more than average
Pydantic68.2% of coverage projects · 13.3× more than average
Requests63.6% of coverage projects · 12.0× more than average
NumPy59.1% of coverage projects · 15.4× more than average
python-dotenv59.1% of coverage projects · 9.1× more than average
urllib354.5% of coverage projects · 35.9× more than average
Pygments54.5% of coverage projects · 71.4× more than average

By coding agent

Claude Code0.3% of projects set up for it
GitHub Copilot0.3% of projects set up for it
Cursor0.3% of projects set up for it

Share of public repos configured for each agent that list coverage as a dependency.

Install

Packagepip install coverage
Main stacksPython (19), Next.js (2), React Native / Expo (1)
Example projectsDelineaXPM/delinea-mcp, mikegianfelice/Hunter, UnitapApp/unitap-backend

Alternatives to coverage

All testing

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Vitest npm
Next-generation testing framework powered by Vite with native ESM.
1,549 (12.2%) 123M 17.2K MIT
Playwright (JavaScript) npm
Cross-browser automation library for end-to-end testing.
1,117 (8.8%) 74.2M 97.4K Apache-2.0
Testing Library npm
Testing utilities for React encouraging testing user behavior.
915 (7.2%) 68.7M 19.7K MIT
Jest npm
Delightful JavaScript testing framework with minimal configuration.
702 (5.5%) 46.3M 45.6K MIT
jsdom npm
JavaScript implementation of web standards for testing DOM interactions.
681 (5.4%) 112M 21.7K MIT
pytest pypi
Simple, powerful Python testing framework with fixtures and plugins.
330 (2.6%) 196M 14.6K —
Chai npm
BDD/TDD assertion library for Node.js and browsers with expressive syntax.
305 (2.4%) 14M 8,265 MIT
Mocha npm
Feature-rich JavaScript test framework for Node.js and browsers.
281 (2.2%) 12.6M 22.9K MIT
Is coverage right for your project? Ask AgentGid →