Skip to content

bartfeenstra/coveragepy

This branch is 438 commits behind nedbat/coveragepy:master.

Folders and files

NameName
Last commit message
Last commit date
May 12, 2024
Feb 27, 2024
May 11, 2024
May 9, 2024
May 5, 2024
Apr 28, 2024
May 13, 2024
Jan 30, 2023
Feb 27, 2024
Jun 28, 2023
Feb 2, 2024
May 26, 2023
May 9, 2024
Jun 13, 2023
May 2, 2024
Jul 24, 2015
Oct 1, 2023
May 4, 2024
Jan 26, 2024
May 9, 2024
Nov 4, 2023
Feb 20, 2024
Mar 14, 2024
Apr 26, 2024
Apr 22, 2024
May 12, 2024
May 12, 2024

Repository files navigation

Coverage.py

Code coverage measurement for Python.

Stand with Ukraine

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:

  • Python 3.8 through 3.12, and 3.13.0b1 and up.
  • PyPy3 versions 3.8 through 3.10.

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

New in 7.x: initial function/class reporting; experimental support for sys.monitoring; dropped support for Python 3.7; added Coverage.collect() context manager; improved data combining; [run] exclude_also setting; report --format=; type annotations.

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

Looking to run coverage on your test suite? See the Quick Start section of the docs.

Change history

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

Code of Conduct

Everyone participating in the coverage.py project is expected to treat other people with respect and to follow the guidelines articulated in the Python Community Code of Conduct.

Contributing

Found a bug? Want to help improve the code or documentation? 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

Citation

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 72.1%
  • HTML 19.2%
  • JavaScript 2.8%
  • C 2.3%
  • CSS 2.0%
  • SCSS 0.9%
  • Other 0.7%