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.
Metadata
Release files for coverage-rich 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| coverage_rich-0.2.0.tar.gz | 15.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| coverage_rich-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.6 kB
Release files / coverage_rich-0.2.0.tar.gz
| Download URL | coverage_rich-0.2.0.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25d3897514943d744a699f7dbbc2263e13cc2c26c01662e29b354811c245069a
|
|
BLAKE2b-256 checksum How to use checksums |
2473d40b9aea45cde3718d98d7de5061c6dc331adb7025304f41618e6cec3524
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.0
|
Release files / coverage_rich-0.2.0-py3-none-any.whl
| Download URL | coverage_rich-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8172428f2a585f2397b9af37d111213391429a0a21a97845c901743a7e55ecb6
|
|
BLAKE2b-256 checksum How to use checksums |
89588d93aa14fee70d85036388976b63a1e2ad67d1efd9ff217d79d0f9411c81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.0
|