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 should find a coverage.json or coverage.xml file in your current working directory.
coverage run -m 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.3.0.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for coverage_plot-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44472412e8e58d0f7da40ae5ee5aa0ed7d6e570c2239266aa1fc02c6691ed416 |
|
MD5 | 246d6bca03815d012135bc2ab5162aed |
|
BLAKE2b-256 | d1cae03fffaf637eb5f06731e6f144b4df1c961f80492708595f30ab9c6326f1 |