Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

Coverage.py: code coverage testing 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.

For more information, see http://nedbatchelder.com/code/coverage

Code repo and issue tracking are at http://bitbucket.org/ned/coveragepy

Recent activity

Marcus Cobden

Marcus Cobden pushed 225 commits to lethargy/coverage.py

7bd89e5 - Add 'discover' command to detect all python files in a directory tree
be6bb95 - Include __main__.py in the source kit. Fixes #255.
2edc7d5 - Make igor's do_help work under Python 3. Thanks, Brett Cannon.
2ba3451 - Get test_html working under OS X when run from a venv. Thank, Brett Cannon.
2c5fb3a - Branch coverage improvement, fixes #90. Bug #212 fixed on py2, but not py3.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.