Skip to main content

A rich terminal report for coveragepy.

Project description

coverage-rich

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.

Project details


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)

Uploaded Source

Built Distribution

coverage_rich-0.2.0-py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page