Skip to main content

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

Metadata

Release files for coverage-fixpaths 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coverage-fixpaths 1.2.0
File Size Uploaded
coverage-fixpaths-1.2.0.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coverage-fixpaths 1.2.0
File Interpreter ABI Platform
coverage_fixpaths-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.1 kB

Release files / coverage-fixpaths-1.2.0.tar.gz

Download URL coverage-fixpaths-1.2.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0790d81fe2e77c494c8bf86e5fc9f9229b00c27ceaa3e0073e6404d49e4a79a4
BLAKE2b-256 checksum
How to use checksums
89ae41259362723ab5c69b9e87540eef304abf1112a9406b02e4870c87d4a90a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10

Release files / coverage_fixpaths-1.2.0-py3-none-any.whl

Download URL coverage_fixpaths-1.2.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2734f63e84c44107321a73007f63622119792c10e56f4059268a9ba6f0c88c34
BLAKE2b-256 checksum
How to use checksums
085497be17d53ca24c5225433c22bb3ea04d01f6d0d192e616208079a91e7b25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page