A rich terminal report for coveragepy.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
coverage_rich-0.2.0.tar.gz
(15.0 kB
view hashes)
Built Distribution
Close
Hashes for coverage_rich-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8172428f2a585f2397b9af37d111213391429a0a21a97845c901743a7e55ecb6 |
|
MD5 | 45ede0fe03dc1ffad7498a4af157f4c0 |
|
BLAKE2b-256 | 89588d93aa14fee70d85036388976b63a1e2ad67d1efd9ff217d79d0f9411c81 |