Skip to main content

Library to plot Python code coverage results

Project description

Coverage Plot

codecov Coverage Status Maintainability Documentation Status

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.

Source Distribution

coverage-plot-0.2.0.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file coverage-plot-0.2.0.tar.gz.

File metadata

  • Download URL: coverage-plot-0.2.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for coverage-plot-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6fab9b648e67484c247fe20b871d11c85fd06b9e775034f01e33e45921e0f3b5
MD5 8bfafdf1a3bbd61196b999fab2400cf3
BLAKE2b-256 df543feed7f5bf8ab0db36cac86f9db62a1264c2b66ce5be59809686d4f93ca3

See more details on using hashes here.

Supported by

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