coverage-fixpaths-1.2.0
توضیحات
A small CLI tool that automatically fixes paths in Cobertura coverage reports
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | coverage-fixpaths-1.2.0 |
| نام | coverage-fixpaths |
| نسخه کتابخانه | 1.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Teake Nutma |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/omegacen/coverage-fixpaths |
| آدرس اینترنتی | https://pypi.org/project/coverage-fixpaths/ |
| مجوز | - |
# coverage-fixpaths
A small CLI tool that automatically fixes paths in Cobertura coverage and JUnit test reports.
## Usage
```
$ coverage-fixpaths --source /path/to/source/files --type coverage coverage.xml
$ coverage-fixpaths --source /path/to/source/files --type junit report.xml
```
This tries to match the filenames in `coverage.xml` to the actual files in `/path/to/source/files`.
Any common prefix in the coverage report is replaced with a subdirectory of `/path/to/source/files`
that best matches the file structure in `coverage.xml`. Files that do not exist in the source directory
are removed from the coverage report.
The option `--source` defaults to `.` (i.e. the current working directory).
## Installation
```
pip install coverage-fixpaths
```
or
```
conda install -c conda-forge coverage-fixpaths
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl coverage-fixpaths-1.2.0:
pip install coverage-fixpaths-1.2.0.whl
نصب پکیج tar.gz coverage-fixpaths-1.2.0:
pip install coverage-fixpaths-1.2.0.tar.gz