Skip to content

ammaraskar/coveragepy

 
 

Repository files navigation

Coverage.py

Code coverage testing for Python.

Stand with Ukraine


 License Python versions supported Package stability
 Test suite status Quality check status Documentation Coverage reports
 PyPI status Weekly PyPI downloads Kit format Packaging status
 Github stars Github forks Contributors
 Tidelift Sponsor me on GitHub coverage.py on Twitter nedbat on Twitter

Coverage.py measures code coverage, typically during test execution. It uses the code analysis tools and tracing hooks provided in the Python standard library to determine which lines are executable, and which have been executed.

Coverage.py runs on these versions of Python:

  • CPython 3.7 through 3.11.0a5.
  • PyPy3 7.3.8.

Documentation is on Read the Docs. Code repository and issue tracker are on GitHub.

New in 6.x: dropped support for Python 2.7, 3.5, and 3.6; write data on SIGTERM; added support for 3.10 match/case statements.

For Enterprise

Tidelift Available as part of the Tidelift Subscription. Coverage and thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. If you want the flexibility of open source and the confidence of commercial-grade software, this is for you. Learn more.

Getting Started

See the Quick Start section of the docs.

Change history

The complete history of changes is on the change history page.

Contributing

See the Contributing section of the docs.

Security

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

License

Licensed under the Apache 2.0 License. For details, see NOTICE.txt.

About

The code coverage tool for Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 79.1%
  • HTML 11.0%
  • C 3.0%
  • JavaScript 2.9%
  • CSS 2.3%
  • SCSS 1.1%
  • Other 0.6%