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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coverage_rich-0.1.0.tar.gz.
File metadata
- Download URL: coverage_rich-0.1.0.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c6f5cb5ba912165a6941df3000d8872d881fcacc2c8831c779d0f831411ed74
|
|
| MD5 |
3bbd0e0597625db284fc07e18baee55a
|
|
| BLAKE2b-256 |
ee9fa53d19022cb161ef57fd9237d8c4fb3bc1c3ad23bf9298a0ad0cd2e2a405
|
File details
Details for the file coverage_rich-0.1.0-py3-none-any.whl.
File metadata
- Download URL: coverage_rich-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba640ee8a4f270612043c342abc9371c496fb84209f3914f2951e487158bfd94
|
|
| MD5 |
4f6caf558416ce2dfd532e02f0527ade
|
|
| BLAKE2b-256 |
3ec495c15317274ff42aa0149e18a2d441587201cfb97173c2914a84486cdf57
|