Skip to main content

Code coverage measurement for Python

Project description

Code coverage testing for Python.

License Python versions supported Package stability
Test suite status Quality check status Documentation Coverage!
PyPI status Kit format Packaging status Weekly PyPI downloads
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 these versions of Python:

  • CPython 3.6 through 3.10.
  • PyPy3 7.3.3.

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

New in 6.x: dropped support for Python 2.7 and 3.5; 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.

Release history Release notifications | RSS feed

Download files

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

Files for coverage, version 6.0.2
Filename, size File type Python version Upload date Hashes
Filename, size coverage-6.0.2-cp310-cp310-macosx_10_9_x86_64.whl (218.6 kB) File type Wheel Python version cp310 Upload date Hashes View
Filename, size coverage-6.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (247.0 kB) File type Wheel Python version cp310 Upload date Hashes View
Filename, size coverage-6.0.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl (253.9 kB) File type Wheel Python version cp310 Upload date Hashes View
Filename, size coverage-6.0.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (255.1 kB) File type Wheel Python version cp310 Upload date Hashes View
Filename, size coverage-6.0.2-cp310-cp310-win32.whl (221.2 kB) File type Wheel Python version cp310 Upload date Hashes View
Filename, size coverage-6.0.2-cp310-cp310-win_amd64.whl (222.6 kB) File type Wheel Python version cp310 Upload date Hashes View
Filename, size coverage-6.0.2-cp36-cp36m-macosx_10_9_x86_64.whl (218.4 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size coverage-6.0.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (243.9 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size coverage-6.0.2-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl (251.0 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size coverage-6.0.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (251.8 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size coverage-6.0.2-cp36-cp36m-win32.whl (221.3 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size coverage-6.0.2-cp36-cp36m-win_amd64.whl (222.4 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size coverage-6.0.2-cp37-cp37m-macosx_10_9_x86_64.whl (218.4 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size coverage-6.0.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (243.9 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size coverage-6.0.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl (252.6 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size coverage-6.0.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (253.3 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size coverage-6.0.2-cp37-cp37m-win32.whl (221.3 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size coverage-6.0.2-cp37-cp37m-win_amd64.whl (222.4 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size coverage-6.0.2-cp38-cp38-macosx_10_9_x86_64.whl (218.6 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size coverage-6.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (248.1 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size coverage-6.0.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl (254.9 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size coverage-6.0.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (256.4 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size coverage-6.0.2-cp38-cp38-win32.whl (221.2 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size coverage-6.0.2-cp38-cp38-win_amd64.whl (222.5 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size coverage-6.0.2-cp39-cp39-macosx_10_9_x86_64.whl (218.6 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size coverage-6.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (246.6 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size coverage-6.0.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl (253.5 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size coverage-6.0.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (254.6 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size coverage-6.0.2-cp39-cp39-win32.whl (221.3 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size coverage-6.0.2-cp39-cp39-win_amd64.whl (222.6 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size coverage-6.0.2-pp36-none-any.whl (210.9 kB) File type Wheel Python version pp36 Upload date Hashes View
Filename, size coverage-6.0.2-pp37-none-any.whl (210.9 kB) File type Wheel Python version pp37 Upload date Hashes View
Filename, size coverage-6.0.2.tar.gz (722.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page