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 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 beta 3.8.
  • 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, 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

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 5.0a7
Filename, size File type Python version Upload date Hashes
Filename, size coverage-5.0a7-cp27-cp27m-macosx_10_12_x86_64.whl (195.2 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp27-cp27m-macosx_10_13_intel.whl (200.3 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp27-cp27m-manylinux1_i686.whl (215.0 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp27-cp27m-manylinux1_x86_64.whl (216.3 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp27-cp27mu-manylinux1_i686.whl (215.0 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp27-cp27mu-manylinux1_x86_64.whl (216.3 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp27-cp27m-win32.whl (195.3 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp27-cp27m-win_amd64.whl (195.6 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp34-cp34m-manylinux1_i686.whl (216.7 kB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp34-cp34m-manylinux1_x86_64.whl (219.3 kB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp35-cp35m-macosx_10_12_x86_64.whl (195.3 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp35-cp35m-manylinux1_i686.whl (216.9 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp35-cp35m-manylinux1_x86_64.whl (219.5 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp35-cp35m-win32.whl (196.8 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp35-cp35m-win_amd64.whl (197.9 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp36-cp36m-macosx_10_13_x86_64.whl (195.3 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp36-cp36m-manylinux1_i686.whl (216.9 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp36-cp36m-manylinux1_x86_64.whl (219.5 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp36-cp36m-win32.whl (196.8 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp36-cp36m-win_amd64.whl (197.9 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp37-cp37m-macosx_10_13_x86_64.whl (195.3 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp37-cp37m-manylinux1_i686.whl (216.8 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp37-cp37m-manylinux1_x86_64.whl (219.5 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp37-cp37m-win32.whl (196.8 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp37-cp37m-win_amd64.whl (197.9 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size coverage-5.0a7-cp38-cp38-macosx_10_13_x86_64.whl (195.5 kB) File type Wheel Python version cp38 Upload date Hashes View hashes
Filename, size coverage-5.0a7.tar.gz (425.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page