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

Documentation is at nedbatchelder.com. Code repository and issue tracker are at bitbucket.org.

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.6b2.tar.gz (229.9 kB view details)

Uploaded Source

Built Distributions

coverage-3.6b2.win32-py3.3.exe (418.8 kB view details)

Uploaded Source

coverage-3.6b2.win32-py3.2.exe (423.6 kB view details)

Uploaded Source

coverage-3.6b2.win32-py3.1.exe (423.9 kB view details)

Uploaded Source

coverage-3.6b2.win32-py2.7.exe (423.6 kB view details)

Uploaded Source

coverage-3.6b2.win32-py2.6.exe (423.9 kB view details)

Uploaded Source

File details

Details for the file coverage-3.6b2.tar.gz.

File metadata

  • Download URL: coverage-3.6b2.tar.gz
  • Upload date:
  • Size: 229.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for coverage-3.6b2.tar.gz
Algorithm Hash digest
SHA256 70cda7f73ef109b266f623146d688a9f230edd21d77f04d9c8bea46d18e3a5d8
MD5 93a0649ca23fb513b0e29a4ad4922461
BLAKE2b-256 2277bf88ac1662f30ec9c8c4c56dce4409b4352d6e94f8bd01f70c4f0a985387

See more details on using hashes here.

File details

Details for the file coverage-3.6b2.win32-py3.3.exe.

File metadata

File hashes

Hashes for coverage-3.6b2.win32-py3.3.exe
Algorithm Hash digest
SHA256 5283f9dc2cd086b08f25bef09933602d8ee09381cf6117382035552331236fcd
MD5 8de69e3d0b27c83d5e637a366608bfcc
BLAKE2b-256 1ead781779e1384a1b3ccce852709a4fe1ea484f32c380042a13ee4d8b42758a

See more details on using hashes here.

File details

Details for the file coverage-3.6b2.win32-py3.2.exe.

File metadata

File hashes

Hashes for coverage-3.6b2.win32-py3.2.exe
Algorithm Hash digest
SHA256 4f55bbcfb8cc06754b452b51ece7745baa8ebe7cd5d1a57dcc08d05614471e35
MD5 d2adca4297032b7e33b447c4cdc960b4
BLAKE2b-256 a680eb4c284d50e2b71e5d2aaa52a9b67b749cedadc2267dabc3a28b06f05158

See more details on using hashes here.

File details

Details for the file coverage-3.6b2.win32-py3.1.exe.

File metadata

File hashes

Hashes for coverage-3.6b2.win32-py3.1.exe
Algorithm Hash digest
SHA256 1e3ab88ff586233fc9c11a50087f1a82ac0c840fdadf9478623fce2f5e28cae2
MD5 bc01f93e20771ec699a8d89d76f7bde8
BLAKE2b-256 3363102f273649a0925a99bb77f02354270be7d264887d8d76b46710b3af6406

See more details on using hashes here.

File details

Details for the file coverage-3.6b2.win32-py2.7.exe.

File metadata

File hashes

Hashes for coverage-3.6b2.win32-py2.7.exe
Algorithm Hash digest
SHA256 f7e6777ac6ecc355909a294ae5d0b3b5811d981ccaceac4f05f51881a5263e9c
MD5 4fcb26f131180c0a0cb40b440c906905
BLAKE2b-256 5a73a098e77281d482f198be51bc25a0d21804c616febd7f5b78417472bcc90e

See more details on using hashes here.

File details

Details for the file coverage-3.6b2.win32-py2.6.exe.

File metadata

File hashes

Hashes for coverage-3.6b2.win32-py2.6.exe
Algorithm Hash digest
SHA256 3c410f6041a4b8de3f489484daf2894093419c316ad998875869077f6dff995d
MD5 1957e84c6a0db0f19492e90a73dbfbe2
BLAKE2b-256 a6e20073951402b709eca4bef9c6f0442ed83221d34dd95b1ad1e08da087a4f2

See more details on using hashes here.

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