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
Metadata
Release files for coverage-plot 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| coverage_plot-0.3.2.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| coverage_plot-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.2 kB
Release files / coverage_plot-0.3.2.tar.gz
| Download URL | coverage_plot-0.3.2.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca5e99d2fc689432bfa24af6f47741e73e1e1b71a71df49862cfbe8d43c23bb5
|
|
BLAKE2b-256 checksum How to use checksums |
ed4e19ba6d722c53ab0470f499827240f8421ec22aa032f6f8947a3ca4e06292
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.10.8 Darwin/21.6.0
|
Release files / coverage_plot-0.3.2-py3-none-any.whl
| Download URL | coverage_plot-0.3.2-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a8adb3d9a4876568c0a5f885c3bb80b6aaac7705793171c374e78c21528db94
|
|
BLAKE2b-256 checksum How to use checksums |
c22097a7d9a66ea026c5035a1879aa7910ab9d1bd46281ea51275cb70cd87fcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.10.8 Darwin/21.6.0
|