Skip to main content

Code coverage measurement for Python

Project description

Code coverage testing for Python.

License Python versions supported Package stability
Build status Windows build status Documentation Coverage!
PyPI status Kit format Packaging status
Github stars Github forks Contributors
Tidelift 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 many versions of Python:

  • CPython 2.7.

  • CPython 3.5 through 3.9 alpha 1.

  • PyPy2 7.0 and PyPy3 7.0.

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

New in 5.0: SQLite data storage, JSON report, contexts, relative filenames, dropped support for Python 2.6, 3.3 and 3.4.

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.

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.

Project details


Release history Release notifications | RSS feed

This version

5.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coverage-5.0.tar.gz (673.8 kB view hashes)

Uploaded source

Built Distributions

coverage-5.0-cp39-cp39m-win_amd64.whl (204.7 kB view hashes)

Uploaded cp39

coverage-5.0-cp39-cp39m-win32.whl (203.4 kB view hashes)

Uploaded cp39

coverage-5.0-cp38-cp38m-win_amd64.whl (204.7 kB view hashes)

Uploaded cp38

coverage-5.0-cp38-cp38m-win32.whl (203.4 kB view hashes)

Uploaded cp38

coverage-5.0-cp38-cp38-manylinux1_x86_64.whl (227.6 kB view hashes)

Uploaded cp38

coverage-5.0-cp38-cp38-manylinux1_i686.whl (225.0 kB view hashes)

Uploaded cp38

coverage-5.0-cp37-cp37m-win_amd64.whl (204.5 kB view hashes)

Uploaded cp37

coverage-5.0-cp37-cp37m-win32.whl (203.3 kB view hashes)

Uploaded cp37

coverage-5.0-cp37-cp37m-manylinux1_x86_64.whl (226.0 kB view hashes)

Uploaded cp37

coverage-5.0-cp37-cp37m-manylinux1_i686.whl (223.4 kB view hashes)

Uploaded cp37

coverage-5.0-cp36-cp36m-win_amd64.whl (204.5 kB view hashes)

Uploaded cp36

coverage-5.0-cp36-cp36m-win32.whl (203.3 kB view hashes)

Uploaded cp36

coverage-5.0-cp36-cp36m-manylinux1_x86_64.whl (226.0 kB view hashes)

Uploaded cp36

coverage-5.0-cp36-cp36m-manylinux1_i686.whl (223.5 kB view hashes)

Uploaded cp36

coverage-5.0-cp35-cp35m-win_amd64.whl (204.5 kB view hashes)

Uploaded cp35

coverage-5.0-cp35-cp35m-win32.whl (203.3 kB view hashes)

Uploaded cp35

coverage-5.0-cp35-cp35m-manylinux1_x86_64.whl (226.0 kB view hashes)

Uploaded cp35

coverage-5.0-cp35-cp35m-manylinux1_i686.whl (223.5 kB view hashes)

Uploaded cp35

coverage-5.0-cp27-cp27mu-manylinux1_i686.whl (221.6 kB view hashes)

Uploaded cp27

coverage-5.0-cp27-cp27m-win_amd64.whl (202.1 kB view hashes)

Uploaded cp27

coverage-5.0-cp27-cp27m-win32.whl (201.9 kB view hashes)

Uploaded cp27

coverage-5.0-cp27-cp27m-manylinux1_x86_64.whl (222.9 kB view hashes)

Uploaded cp27

coverage-5.0-cp27-cp27m-manylinux1_i686.whl (221.6 kB view hashes)

Uploaded cp27

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page