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.

Source Distribution

coverage-plot-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coverage_plot-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coverage-plot-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.5 Darwin/18.7.0

File hashes

Hashes for coverage-plot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c5943757ac00718b7bb83e3428c0ec9eec8229fa50f966ab3ad9dee40258763b
MD5 2a182243c13592f58ae038054ec0ea30
BLAKE2b-256 88288e6adb505f32b0e06ebcba04c67063236b61e012583cd5e2310241f59c32

See more details on using hashes here.

File details

Details for the file coverage_plot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: coverage_plot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.5 Darwin/18.7.0

File hashes

Hashes for coverage_plot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c1793d9471cb663b14b5e1e214cec962d94ae7a15d4de412f3c7d4ec7abcb92
MD5 7603836376a7af34ef79e34034e256d9
BLAKE2b-256 ac2a0b2b7320b73c72c5c2337885eda8571105f4bc683387d90112f3299f093a

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