Code coverage measurement for Python
Python HTML C JavaScript CSS PowerShell Other
Clone or download
Permalink
Failed to load latest commit information.
ci Update NOTICE link to GitHub. Jun 24, 2018
coverage Be stricter about self._data Jul 8, 2018
doc Simplify a URL so that docs can build pre-release Jul 7, 2018
lab Explain the lab directory Jun 26, 2018
perf Update NOTICE link to GitHub. Jun 24, 2018
requirements Spelling in pylint isn't worth the difficulty of installing enchant Jun 30, 2018
tests Be stricter about self._data Jul 8, 2018
.editorconfig .rst max line is 79 Nov 28, 2016
.gitignore Newer pytest changed the name of its cache May 5, 2018
.travis.yml Run pylint on travis Jun 30, 2018
.treerc For some reason, lowercase 'python' suddenly struck me as odd-looking… Dec 12, 2014
CHANGES.rst CHANGES polishing Jul 7, 2018
CONTRIBUTORS.txt I like to give credit where credit is due Jun 19, 2018
LICENSE.txt Switch license to Apache Jul 24, 2015
MANIFEST.in No need to prune things we never included Jun 30, 2018
Makefile Spelling in pylint isn't worth the difficulty of installing enchant Jun 30, 2018
NOTICE.txt Version 4.5 paperwork Feb 3, 2018
README.rst I guess it's travis.com now? Jun 25, 2018
TODO.txt Don't need the .px doc toolchain any more Aug 22, 2015
__main__.py Update NOTICE link to GitHub. Jun 24, 2018
appveyor.yml Try Appveyor without --user Jun 24, 2018
howto.txt Bump to 5.0a2 Jun 5, 2018
igor.py .hgignore is gone, no need to check it. Jun 27, 2018
metacov.ini Update NOTICE link to GitHub. Jun 24, 2018
pylintrc Spelling in pylint isn't worth the difficulty of installing enchant Jun 30, 2018
setup.cfg Include license file in the generated wheel package Nov 26, 2017
setup.py Change url in the distribution to GitHub Jun 24, 2018
tox.ini Run pylint on travis Jun 30, 2018
tox_wheels.ini Update NOTICE link to GitHub. Jun 24, 2018

README.rst

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.

Coverage.py runs on many versions of Python:

  • CPython 2.7 and 3.4 through 3.7.
  • PyPy2 6.0 and PyPy3 6.0.
  • Jython 2.7.1, though not for reporting.
  • IronPython 2.7.7, though not for reporting.

Documentation is on Read the Docs. Code repository and issue tracker are on GitHub.

New in 5.0: Dropped support for Python 2.6 and 3.3.

New in 4.5: Configurator plug-ins.

New in 4.4: Suppressable warnings, continuous coverage measurement.

New in 4.3: HTML --skip-covered, sys.excepthook support, tox.ini support.

New in 4.2: better support for multiprocessing and combining data.

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.

Getting Started

See the Quick Start section of the docs.

Contributing

See the Contributing section of the docs.

License

Licensed under the Apache 2.0 License. For details, see NOTICE.txt.