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.0.0.dev2.tar.gz
(14.7 kB
view hashes)
Built Distribution
Close
Hashes for coverage_rich-0.0.0.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f1c0dac3ad1c66a8575d1b5f67eedcef8bf7e332b2bb1e64a89a5e04fedde0f |
|
MD5 | ca3579e1d2344336a1555d7dcba3f761 |
|
BLAKE2b-256 | 96d85ab6dbec634e0ed571e34a3c56f9c5120f752424fee10cb9f21fa3289268 |