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 repository 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 52 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.0b2.zip (442.0 kB view hashes)

Uploaded Source

coverage-4.0b2.tar.gz (314.8 kB view hashes)

Uploaded Source

Built Distributions

coverage-4.0b2.win-amd64-py3.5.exe (361.3 kB view hashes)

Uploaded Source

coverage-4.0b2.win-amd64-py3.4.exe (497.2 kB view hashes)

Uploaded Source

coverage-4.0b2.win-amd64-py3.3.exe (497.2 kB view hashes)

Uploaded Source

coverage-4.0b2.win-amd64-py2.7.exe (498.7 kB view hashes)

Uploaded Source

coverage-4.0b2.win-amd64-py2.6.exe (499.0 kB view hashes)

Uploaded Source

coverage-4.0b2.win32-py3.5.exe (342.6 kB view hashes)

Uploaded Source

coverage-4.0b2.win32-py3.4.exe (457.5 kB view hashes)

Uploaded Source

coverage-4.0b2.win32-py3.3.exe (457.6 kB view hashes)

Uploaded Source

coverage-4.0b2.win32-py2.7.exe (462.5 kB view hashes)

Uploaded Source

coverage-4.0b2.win32-py2.6.exe (462.8 kB view hashes)

Uploaded Source

coverage-4.0b2-cp35-none-win_amd64.whl (157.6 kB view hashes)

Uploaded CPython 3.5 Windows x86-64

coverage-4.0b2-cp35-none-win32.whl (156.4 kB view hashes)

Uploaded CPython 3.5 Windows x86

coverage-4.0b2-cp34-none-win_amd64.whl (155.8 kB view hashes)

Uploaded CPython 3.4 Windows x86-64

coverage-4.0b2-cp34-none-win32.whl (155.6 kB view hashes)

Uploaded CPython 3.4 Windows x86

coverage-4.0b2-cp34-cp34m-macosx_10_10_x86_64.whl (155.3 kB view hashes)

Uploaded CPython 3.4m macOS 10.10+ x86-64

coverage-4.0b2-cp33-none-win_amd64.whl (155.8 kB view hashes)

Uploaded CPython 3.3 Windows x86-64

coverage-4.0b2-cp33-none-win32.whl (155.7 kB view hashes)

Uploaded CPython 3.3 Windows x86

coverage-4.0b2-cp33-cp33m-macosx_10_10_x86_64.whl (155.3 kB view hashes)

Uploaded CPython 3.3m macOS 10.10+ x86-64

coverage-4.0b2-cp27-none-win_amd64.whl (155.8 kB view hashes)

Uploaded CPython 2.7 Windows x86-64

coverage-4.0b2-cp27-none-win32.whl (155.5 kB view hashes)

Uploaded CPython 2.7 Windows x86

coverage-4.0b2-cp27-none-macosx_10_10_x86_64.whl (155.2 kB view hashes)

Uploaded CPython 2.7 macOS 10.10+ x86-64

coverage-4.0b2-cp26-none-win_amd64.whl (156.1 kB view hashes)

Uploaded CPython 2.6 Windows x86-64

coverage-4.0b2-cp26-none-win32.whl (155.8 kB view hashes)

Uploaded CPython 2.6 Windows x86

coverage-4.0b2-cp26-none-macosx_10_10_x86_64.whl (155.2 kB view hashes)

Uploaded CPython 2.6 macOS 10.10+ x86-64

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