Skip to main content

colcon-coveragepy-result

PyPI GitHub Action Status

A colcon extension for collecting coverage.py results.

Usage

  1. Build packages with coverage, e.g. using a colcon mixin for coverage
    $ colcon build --mixin coverage-pytest
    
  2. Test packages with coverage, again using a mixin
    $ colcon test --mixin coverage-pytest
    
  3. Collect coverage results
    $ colcon coveragepy-result
    
  4. 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:

Metadata

Release files for colcon-coveragepy-result 0.0.8

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

Source distribution (sdist)

Source distribution for colcon-coveragepy-result 0.0.8
File Size Uploaded
colcon-coveragepy-result-0.0.8.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for colcon-coveragepy-result 0.0.8
File Interpreter ABI Platform
colcon_coveragepy_result-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 18.4 kB

Release files / colcon-coveragepy-result-0.0.8.tar.gz

Download URL colcon-coveragepy-result-0.0.8.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c46a6858efe318496cc852dedbc721060a26a4a32bf000d7215bc78738a0b2ba
BLAKE2b-256 checksum
How to use checksums
07f5918fdf870b7ffad6c6d0fee70bb2cd2137f1c79ae9063e8098c6d7c5ff62
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/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / colcon_coveragepy_result-0.0.8-py3-none-any.whl

Download URL colcon_coveragepy_result-0.0.8-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f35ffbd3d8f62e32f03950ad2e6fc4e2c20294233fefa01b6c7785d313e78c8e
BLAKE2b-256 checksum
How to use checksums
53846a71482a481f3dbafb46939efc5cf4af91592eea5e92643d08534acdc23f
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/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.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