Skip to main content

Code coverage measurement for Python

Project description

Code coverage testing for Python.

License Python versions supported Package stability Documentation
Build status Windows build status Coverage!
PyPI status Kit format Weekly PyPI downloads

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 CPython 2.6, 2.7, and 3.3 through 3.6; PyPy 4.0 and 5.1; and PyPy3 2.4.

Documentation is on Read the Docs. Code repository and issue tracker are on Bitbucket, with a mirrored repository on GitHub.

New in 4.2: better support for multiprocessing and combining data.

New in 4.1: much-improved branch coverage.

New in 4.0: --concurrency, plugins for non-Python files, setup.cfg support, –skip-covered, HTML filtering, and more than 50 issues closed.

Getting Started

See the quick start section of the docs.

License

Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0. For details, see https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt.

Project details


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 Distributions

coverage-4.2b1.zip (496.0 kB view hashes)

Uploaded source

coverage-4.2b1.tar.gz (371.2 kB view hashes)

Uploaded source

Built Distributions

coverage-4.2b1.win-amd64-py3.5.exe (421.7 kB view hashes)

Uploaded 3 5

coverage-4.2b1.win-amd64-py3.4.exe (505.3 kB view hashes)

Uploaded 3 4

coverage-4.2b1.win-amd64-py3.3.exe (505.4 kB view hashes)

Uploaded 3 3

coverage-4.2b1.win-amd64-py2.7.exe (506.9 kB view hashes)

Uploaded 2 7

coverage-4.2b1.win-amd64-py2.6.exe (507.1 kB view hashes)

Uploaded 2 6

coverage-4.2b1.win32-py3.5.exe (405.1 kB view hashes)

Uploaded 3 5

coverage-4.2b1.win32-py3.4.exe (465.7 kB view hashes)

Uploaded 3 4

coverage-4.2b1.win32-py3.3.exe (465.8 kB view hashes)

Uploaded 3 3

coverage-4.2b1.win32-py2.7.exe (470.8 kB view hashes)

Uploaded 2 7

coverage-4.2b1.win32-py2.6.exe (471.0 kB view hashes)

Uploaded 2 6

coverage-4.2b1-cp35-cp35m-win_amd64.whl (164.3 kB view hashes)

Uploaded cp35

coverage-4.2b1-cp35-cp35m-win32.whl (163.1 kB view hashes)

Uploaded cp35

coverage-4.2b1-cp34-cp34m-win_amd64.whl (161.9 kB view hashes)

Uploaded cp34

coverage-4.2b1-cp34-cp34m-win32.whl (161.8 kB view hashes)

Uploaded cp34

coverage-4.2b1-cp33-cp33m-win_amd64.whl (162.0 kB view hashes)

Uploaded cp33

coverage-4.2b1-cp33-cp33m-win32.whl (161.9 kB view hashes)

Uploaded cp33

coverage-4.2b1-cp27-cp27m-win_amd64.whl (162.0 kB view hashes)

Uploaded cp27

coverage-4.2b1-cp27-cp27m-win32.whl (161.8 kB view hashes)

Uploaded cp27

coverage-4.2b1-cp26-cp26m-win_amd64.whl (162.3 kB view hashes)

Uploaded cp26

coverage-4.2b1-cp26-cp26m-win32.whl (162.1 kB view hashes)

Uploaded cp26

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