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

This version

3.6

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

Uploaded Source

Built Distributions

coverage-3.6.win-amd64-py3.3.exe (453.4 kB view details)

Uploaded Source

coverage-3.6.win-amd64-py3.2.exe (455.2 kB view details)

Uploaded Source

coverage-3.6.win-amd64-py3.1.exe (455.4 kB view details)

Uploaded Source

coverage-3.6.win-amd64-py2.7.exe (454.6 kB view details)

Uploaded Source

coverage-3.6.win-amd64-py2.6.exe (454.9 kB view details)

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for coverage-3.6.tar.gz
Algorithm Hash digest
SHA256 df3bf169d4727f3fad146ca715a49a1f72a8258689651ef9de908022e739700d
MD5 67d4e393f4c6a5ffc18605409d2aa1ac
BLAKE2b-256 d22de15d38b0a34a3e88e3c164a7ec04ed43f45869c20304db13875b24002506

See more details on using hashes here.

File details

Details for the file coverage-3.6.win-amd64-py3.3.exe.

File metadata

File hashes

Hashes for coverage-3.6.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 921814e8a597e2b89901e2f6eb58fca5527162443b91f7556a87b5309b8e3144
MD5 832dd1d0aa479339d1bfe53b55ca07ac
BLAKE2b-256 01c82f84e912133108bad1609fff797f498e42758835467abfa9967b77b724b4

See more details on using hashes here.

File details

Details for the file coverage-3.6.win-amd64-py3.2.exe.

File metadata

File hashes

Hashes for coverage-3.6.win-amd64-py3.2.exe
Algorithm Hash digest
SHA256 b57fea016296574662a08517b1c13eb935c8ed588aa991b108398f0c70347409
MD5 293d218a9f2f81c7eb871d294b3d1ef8
BLAKE2b-256 04180590d33920f2d490f744ee94553d822fb1d8976d19426c6ae5a299f2728b

See more details on using hashes here.

File details

Details for the file coverage-3.6.win-amd64-py3.1.exe.

File metadata

File hashes

Hashes for coverage-3.6.win-amd64-py3.1.exe
Algorithm Hash digest
SHA256 462a456a4d793a97d1aa5aeee06185fcb13cb5c5bbb877350ef73234282dad61
MD5 c1b0fb937729fcb4594e23035fe76ae8
BLAKE2b-256 483be04aaa9deeb019ee1e7c0b74ed941333aacc875b0fb64a581bf92e12b8e7

See more details on using hashes here.

File details

Details for the file coverage-3.6.win-amd64-py2.7.exe.

File metadata

File hashes

Hashes for coverage-3.6.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 7c92782223f4d1d6469734d6c8618de003c80619673c9c810f17ae9496e6e39e
MD5 914aee9d35cae36aafe38e2583cf9143
BLAKE2b-256 b053fcf69c37c4932353a81a6a33bc299f5c126a976260da5ec850cffa4b98bf

See more details on using hashes here.

File details

Details for the file coverage-3.6.win-amd64-py2.6.exe.

File metadata

File hashes

Hashes for coverage-3.6.win-amd64-py2.6.exe
Algorithm Hash digest
SHA256 848eb026c36a0fc23fba670d776b60d6f8e2af617398600f82b74436a1b280ab
MD5 619bc75d70708e7a63ade0e6ee758213
BLAKE2b-256 6bd9f231a5d7e2fb2cb4b56f59039531d3bcee7ca2fcd63f5093f68fdd4ca8b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coverage-3.6.win32-py3.3.exe
Algorithm Hash digest
SHA256 b5da4cd5d855a337b9b865611c16b4f25dbf169f67d381735f03c46a8e307376
MD5 ac1577cb87b4b825ce332ca452e9de02
BLAKE2b-256 354af501e7c2709e143fb708ff23aa61f277deff7efdff5d682e579a4c80214e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coverage-3.6.win32-py3.2.exe
Algorithm Hash digest
SHA256 7867f41c16e1ab997d0a8402d249bbd01bf7444a1eb72149dd64f1c965a9e841
MD5 0e2a3356fdc8687255308e8428c7fc04
BLAKE2b-256 fa5b3dd44bda86bfbb067a50f8fe8f604ffcec54c11a7997886eb7da394dc699

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coverage-3.6.win32-py3.1.exe
Algorithm Hash digest
SHA256 7e75f870386878a4f78ba0787253f504d51c3558499f41e73b2c0044cf46aed9
MD5 e9c6d5809b13bba8156b64a124cede8c
BLAKE2b-256 4d5fa07a9d87d64571987808c7b7524165267ea320dd93dbbbff1b452f951f5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coverage-3.6.win32-py2.7.exe
Algorithm Hash digest
SHA256 faea05718a8f4206b0e743a5d357144cb91df567373003bed324190c309548b4
MD5 35a15698ee9637d10e17233c6767b279
BLAKE2b-256 90daac49a03a48a7ca76575da9ded45b3a0793f200e7a0c03a0f2d98592c0419

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coverage-3.6.win32-py2.6.exe
Algorithm Hash digest
SHA256 f4017790585d18303efbe7aa863819a7f1d7d13639eae78cab9808c5671d5daa
MD5 c8af72d547b1ac7aab0ce4f4a31df3a4
BLAKE2b-256 85050dbc365b5d39152c7cc5974b8e24dad9ef7a414a024a5897d16e04786ecc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page