GitHub - nedbat/coveragepy: Code coverage measurement for Python
source link: https://github.com/nedbat/coveragepy
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK