Environment
- Console
Intended Audience
- Developers
License
- OSI Approved :: Apache Software License
Operating System
- OS Independent
Programming Language
- Python
- Python :: 2
- Python :: 2.7
- Python :: 3
- Python :: 3.4
- Python :: 3.5
- Python :: 3.6
- Python :: 3.7
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
- Python :: Implementation :: Jython
- Python :: Implementation :: IronPython
Topic
- Software Development :: Quality Assurance
- Software Development :: Testing
Development Status
- 3 - Alpha
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.
Professional support for coverage.py is available as part of the Tidelift Subscription. Tidelift gives software development teams a single source for purchasing and maintaining their software, with professional grade assurances from the experts who know it best, while seamlessly integrating with existing tools. |
Coverage.py runs on many versions of Python:
CPython 2.7.
CPython 3.4 through pre-alpha 3.8.
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: SQLite data storage, contexts, dropped support for Python 2.6 and 3.3.
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.
Wheel compatibility matrix
Platform | CPython 2.7 | CPython 3.4 | CPython 3.5 | CPython 3.6 | CPython 3.7 | CPython (wide) 2.7 |
---|---|---|---|---|---|---|
macosx_10_12_x86_64 | ||||||
macosx_10_13_intel | ||||||
macosx_10_13_x86_64 | ||||||
manylinux1_i686 | ||||||
manylinux1_x86_64 | ||||||
win32 | ||||||
win_amd64 |