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.2.
Documentation is at nedbatchelder.com. Code repository and issue tracker are at bitbucket.org.
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 | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
coverage-3.5.1.tar.gz (113.3 kB view hashes)
coverage-3.5.1.win32-py3.2.exe (305.3 kB view hashes)
coverage-3.5.1.win32-py3.1.exe (305.3 kB view hashes)
coverage-3.5.1.win32-py2.7.exe (305.6 kB view hashes)
coverage-3.5.1.win32-py2.6.exe (305.6 kB view hashes)