coverage-plot-0.3.2
توضیحات
Library to plot Python code coverage results
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | coverage-plot-0.3.2 |
| نام | coverage-plot |
| نسخه کتابخانه | 0.3.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Roman Imankulov |
| ایمیل نویسنده | roman.imankulov@gmail.com |
| آدرس صفحه اصلی | https://github.com/imankulov/coverage-plot |
| آدرس اینترنتی | https://pypi.org/project/coverage-plot/ |
| مجوز | MIT |
# Coverage Plot
[](https://codecov.io/gh/imankulov/coverage-plot)
[](https://coveralls.io/github/imankulov/coverage-plot)
[](https://codeclimate.com/github/imankulov/coverage-plot/maintainability)
[](https://coverage-plot.readthedocs.io/en/latest/?badge=latest)
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
```
نیازمندی
| مقدار | نام |
|---|---|
| >=5,<6 | plotly |
| >=1.0.5,<2.0.0 | pandas |
| >=21.1.0 | attrs |
| >=8.1.2,<9.0.0 | click |
| >=1.15.2,<2.0.0 | pydriller |
| >=3,<4 | sphinx |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.1,<4.0.0 | Python |
نحوه نصب
نصب پکیج whl coverage-plot-0.3.2:
pip install coverage-plot-0.3.2.whl
نصب پکیج tar.gz coverage-plot-0.3.2:
pip install coverage-plot-0.3.2.tar.gz