Skip to main content

Library to plot Python code coverage results

Project description

Coverage Plot

A library and a script to plot Python code coverage results.

Getting Started

Run the tests for your project with the test coverage, and convert the coverage results to a JSON or XML format. As a result, you shoud find a coverage.json or coverage.xml file in your current working directory.

coverage run pytest
coverage xml  # or coverage json

Install the package.

pip install coverage-plot

Run the coverage visualization. The script opens the browser with the visualization-results.

coverage-plot coverage.xml

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for coverage-plot, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size coverage_plot-0.1.0-py3-none-any.whl (8.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size coverage-plot-0.1.0.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page