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
Close
Hashes for colcon-coveragepy-result-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c46a6858efe318496cc852dedbc721060a26a4a32bf000d7215bc78738a0b2ba |
|
MD5 | c644a227abf1eb6abfc79fc418fc7f5e |
|
BLAKE2b-256 | 07f5918fdf870b7ffad6c6d0fee70bb2cd2137f1c79ae9063e8098c6d7c5ff62 |
Close
Hashes for colcon_coveragepy_result-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f35ffbd3d8f62e32f03950ad2e6fc4e2c20294233fefa01b6c7785d313e78c8e |
|
MD5 | fbd59c2e600fb1e0d20c09beb896d956 |
|
BLAKE2b-256 | 53846a71482a481f3dbafb46939efc5cf4af91592eea5e92643d08534acdc23f |