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.
Coverage.py runs on CPython 2.6, 2.7, 3.3, 3.4 and 3.5; PyPy 4.0 and 5.1; and PyPy3 2.4.
New in 4.1: much-improved branch coverage.
New in 4.0: --concurrency, plugins for non-Python files, setup.cfg support, --skip-covered, HTML filtering, and more than 50 issues closed.
See the quick start section of the docs.
Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0. For details, see https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt.