A rich terminal report for coveragepy.
Project Links
Meta
Author: Waylon S. Walker
Requires Python: >=3.7
Classifiers
Development Status
- 4 - Beta
Programming Language
- Python
- Python :: 3.7
- Python :: 3.8
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
coverage-rich
Installation
pip install coverage-rich
Usage
coverage run -m pytest
coverage-rich report
configuration
coverage-rich will send a failure code if there is insufficient total coverage, this is configurable by setting the fail-under value.
pyproject.toml
[tool.coverage_rich]
fail-under=0 # default 80
.coverage_rich, coverage_rich.ini
[coverage_rich]
fail-under = 1
setup.cfg
[tool.coverage_rich]
fail-under = 22
Examples
coverage-rich (left) compared to coverage report -m (right)
License
coverage-rich is distributed under the terms of the MIT license.
0.2.0
Apr 30, 2023
0.2.0.dev0
Apr 29, 2023
0.1.0
Feb 12, 2023
0.1.0.dev1
Feb 12, 2023
0.0.0
Feb 11, 2023
0.0.0.dev2
Feb 12, 2023