Skip to main content

Code coverage measurement for Python

Project description

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, 3.3, 3.4 or 3.5, PyPy 2.4, and PyPy3 2.4.

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

New in 4.0 beta: --concurrency, dropped support for older Pythons, setup.cfg support, plugins for other file variants, supported data API, –skip-covered, HTML filtering, and 49 issues closed.

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.0b1.zip (440.0 kB view hashes)

Uploaded source

coverage-4.0b1.tar.gz (311.5 kB view hashes)

Uploaded source

Built Distributions

coverage-4.0b1.win-amd64-py3.5.exe (357.6 kB view hashes)

Uploaded 3 5

coverage-4.0b1.win-amd64-py3.4.exe (493.5 kB view hashes)

Uploaded 3 4

coverage-4.0b1.win-amd64-py3.3.exe (493.5 kB view hashes)

Uploaded 3 3

coverage-4.0b1.win-amd64-py2.7.exe (495.0 kB view hashes)

Uploaded 2 7

coverage-4.0b1.win-amd64-py2.6.exe (495.3 kB view hashes)

Uploaded 2 6

coverage-4.0b1.win32-py3.5.exe (338.9 kB view hashes)

Uploaded 3 5

coverage-4.0b1.win32-py3.4.exe (453.7 kB view hashes)

Uploaded 3 4

coverage-4.0b1.win32-py3.3.exe (453.8 kB view hashes)

Uploaded 3 3

coverage-4.0b1.win32-py2.7.exe (458.8 kB view hashes)

Uploaded 2 7

coverage-4.0b1.win32-py2.6.exe (459.1 kB view hashes)

Uploaded 2 6

coverage-4.0b1-cp35-none-win_amd64.whl (153.9 kB view hashes)

Uploaded cp35

coverage-4.0b1-cp35-none-win32.whl (152.7 kB view hashes)

Uploaded cp35

coverage-4.0b1-cp34-none-win_amd64.whl (152.1 kB view hashes)

Uploaded cp34

coverage-4.0b1-cp34-none-win32.whl (151.9 kB view hashes)

Uploaded cp34

coverage-4.0b1-cp33-none-win_amd64.whl (152.1 kB view hashes)

Uploaded cp33

coverage-4.0b1-cp33-none-win32.whl (151.9 kB view hashes)

Uploaded cp33

coverage-4.0b1-cp27-none-win_amd64.whl (152.0 kB view hashes)

Uploaded cp27

coverage-4.0b1-cp27-none-win32.whl (151.8 kB view hashes)

Uploaded cp27

coverage-4.0b1-cp26-none-win_amd64.whl (152.3 kB view hashes)

Uploaded cp26

coverage-4.0b1-cp26-none-win32.whl (152.1 kB view hashes)

Uploaded cp26

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