imankulov / coverage-plot

A library and a script to display a summary coverage plot from coverage reports.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 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

About

A library and a script to display a summary coverage plot from coverage reports.


Languages

Language:Python 100.0%