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
Tidelift Say thanks :)

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.

Tidelift Professional support for coverage.py is available as part of the Tidelift Subscription. Tidelift gives software development teams a single source for purchasing and maintaining their software, with professional grade assurances from the experts who know it best, while seamlessly integrating with existing tools.

Coverage.py runs on many versions of Python:

  • CPython 2.7.
  • CPython 3.5 through alpha 3.8.
  • PyPy2 7.0 and PyPy3 7.0.
  • Jython 2.7.1, though not for reporting.
  • IronPython 2.7.7, though not for reporting.

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

New in 5.0: SQLite data storage, contexts, dropped support for Python 2.6 and 3.3.

Getting Started

See the Quick Start section of the docs.

Contributing

See the Contributing section of the docs.

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.

Source Distribution

coverage-5.0a5.tar.gz (410.3 kB view hashes)

Uploaded source

Built Distributions

coverage-5.0a5.win-amd64-py3.7.exe (901.6 kB view hashes)

Uploaded 3 7

coverage-5.0a5.win-amd64-py3.6.exe (901.6 kB view hashes)

Uploaded 3 6

coverage-5.0a5.win-amd64-py3.5.exe (900.9 kB view hashes)

Uploaded 3 5

coverage-5.0a5.win-amd64-py2.7.exe (535.2 kB view hashes)

Uploaded 2 7

coverage-5.0a5.win32-py3.7.exe (762.7 kB view hashes)

Uploaded 3 7

coverage-5.0a5.win32-py3.6.exe (762.7 kB view hashes)

Uploaded 3 6

coverage-5.0a5.win32-py3.5.exe (762.0 kB view hashes)

Uploaded 3 5

coverage-5.0a5.win32-py2.7.exe (499.0 kB view hashes)

Uploaded 2 7

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

Uploaded cp37

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

Uploaded cp37

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

Uploaded cp36

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

Uploaded cp36

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

Uploaded cp35

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

Uploaded cp35

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

Uploaded cp27

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

Uploaded cp27

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 NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page