Coverage.py
7.3#3 in test coverage toolsFree planFree planAPILinuxmacOSSelf-hosted
Visit
| Fact | Coverage.py | Coveralls |
|---|---|---|
| Integrations | Official examples cover pytest, unittest, and nose, and pytest commonly uses the pytest-cov plugin. | Coveralls says it works with any CI service and offers over 30 community-created integrations plus a GitHub Action and CircleCI Orb. |
| Purpose | Coverage.py measures which parts of Python programs ran and identifies executable code that did not run, commonly to gauge test effectiveness. | Coveralls analyzes test coverage to show which parts of code are not covered by tests. |
Coverage.py is for developers measuring how much of their Python code their tests exercise. Its report formats and dynamic contexts can help teams inspect coverage in different ways.
Coveralls suits development teams that want coverage details by file and line, historical trends, and pull-request checks. Its free open-source option may suit maintainers of public projects; private repositories have paid plans starting at $10/mo.