Code coverage measurement for Python
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.
New in 3.7: --debug, and 12 bugs closed.
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!
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|coverage-3.7.tar.gz (283.4 kB) Copy SHA256 hash SHA256||Source||None||Oct 6, 2013|
|coverage-3.7.win32-py2.6.exe (427.3 kB) Copy SHA256 hash SHA256||Windows Installer||2.6||Oct 6, 2013|
|coverage-3.7.win32-py2.7.exe (427.0 kB) Copy SHA256 hash SHA256||Windows Installer||2.7||Oct 6, 2013|
|coverage-3.7.win32-py3.2.exe (427.1 kB) Copy SHA256 hash SHA256||Windows Installer||3.2||Oct 6, 2013|
|coverage-3.7.win32-py3.3.exe (422.2 kB) Copy SHA256 hash SHA256||Windows Installer||3.3||Oct 6, 2013|