A small CLI tool that automatically fixes paths in Cobertura coverage reports
Project description
coverage-fixpaths
A small CLI tool that automatically fixes paths in Cobertura coverage reports.
Usage
$ coverage-fixpaths --source /path/to/source/files coverage.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
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
Built Distribution
Close
Hashes for coverage_fixpaths-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 421eb2998350f3afc279da5a530fa33915e66c5f5aa78e0eaa7550907761fde9 |
|
MD5 | eac05bd7e9863bdddbe5f436ab6c537f |
|
BLAKE2b-256 | db6fce0b343cd9715d2fd7dc0bb956f3213e0474a976dbfdd3f2764efcc7cce3 |