Skip to main content

Code coverage measurement for Python

Project description 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. runs on Pythons 2.3 through 3.3, and PyPy 1.9.

Documentation is at Code repository and issue tracker are at

New in 3.6: --fail-under, and >20 bugs closed.

New in 3.5: Branch coverage exclusions, keyboard shortcuts in HTML report.

New in 3.4: Better control over source to measure, and unexecuted files can be reported.

New in 3.3: .coveragerc files.

New in 3.2: Branch coverage!

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 Distribution

coverage-3.6b3.tar.gz (230.4 kB view hashes)

Uploaded source

Built Distributions

coverage-3.6b3.win32-py3.3.exe (418.8 kB view hashes)

Uploaded 3 3

coverage-3.6b3.win32-py3.2.exe (423.6 kB view hashes)

Uploaded 3 2

coverage-3.6b3.win32-py3.1.exe (423.9 kB view hashes)

Uploaded 3 1

coverage-3.6b3.win32-py2.7.exe (423.6 kB view hashes)

Uploaded 2 7

coverage-3.6b3.win32-py2.6.exe (423.9 kB view hashes)

Uploaded 2 6

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