colcon extension for collecting coverage.py results
Project description
colcon-coveragepy-result
A colcon extension for collecting coverage.py results.
Usage
- Build packages with coverage, e.g. using a colcon mixin for coverage
$ colcon build --mixin coverage-pytest
- Test packages with coverage, again using a mixin
$ colcon test --mixin coverage-pytest
- Collect coverage results
$ colcon coveragepy-result
- Open HTML report, which by default is under
coveragepy/htmlcov/
Options
- Print coverage reports for each package and a combined coverage report of all packages
$ colcon coveragepy-result --verbose
- Provide additional arguments for reports generation, e.g. to show lines without coverage
$ colcon coveragepy-result --coverage-report-args -m
- Provide additional arguments for HTML report generation, e.g. to skip files with no code
$ colcon coveragepy-result --coverage-html-args --skip-empty
- For more options
$ colcon coveragepy-result --help
Contributing
See:
- Contributions for guidelines
- Bootstrap from source to test the package from source
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
File details
Details for the file colcon-coveragepy-result-0.0.4.tar.gz
.
File metadata
- Download URL: colcon-coveragepy-result-0.0.4.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c214050ffab03db0b176191d9de8028442c56acb4ecd5b704c7ec89c43e842c2 |
|
MD5 | 54e451f55f028932511d0f713cdecb7f |
|
BLAKE2b-256 | c79d6ea043a791871bbdca6cf0b26e8d0c98d85500b1f665a17f2ab5eb6bce58 |
File details
Details for the file colcon_coveragepy_result-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: colcon_coveragepy_result-0.0.4-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71922bac906689ce917b735013606d946ef7c83a924d2ac765d1e7a214fb34c1 |
|
MD5 | f86ff00ae2c41238942053bdf5464ebb |
|
BLAKE2b-256 | 8004f533f9557c7cbc2632aca6668e32c36c2728ab871b6a4ba3251d3b0c1253 |