Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

coverage-rich

PyPI - Version PyPI - Python Version


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.0.0.dev2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coverage-rich 0.0.0.dev2
File Size Uploaded
coverage_rich-0.0.0.dev2.tar.gz 14.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coverage-rich 0.0.0.dev2
File Interpreter ABI Platform
coverage_rich-0.0.0.dev2-py3-none-any.whl Python 3 none any Details

Total release size: 25.1 kB

Release files / coverage_rich-0.0.0.dev2.tar.gz

Download URL coverage_rich-0.0.0.dev2.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b5dced0c4d7530952be40fb8e325fb13662054baa4ba626a359c6edd0b2f653e
BLAKE2b-256 checksum
How to use checksums
5027f334a91c4103dffda8eb43f16b096de61861cfdc031c575c2eda879811f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.3

Release files / coverage_rich-0.0.0.dev2-py3-none-any.whl

Download URL coverage_rich-0.0.0.dev2-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f1c0dac3ad1c66a8575d1b5f67eedcef8bf7e332b2bb1e64a89a5e04fedde0f
BLAKE2b-256 checksum
How to use checksums
96d85ab6dbec634e0ed571e34a3c56f9c5120f752424fee10cb9f21fa3289268
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page