Skip to content

[Bug]: VS Code Task "CPP - Calculate code coverage" is not working properly #100

@BjoernAtBosch

Description

@BjoernAtBosch

Severity

Medium

What release version, tag or commit-hash did you use?

v0.5.2

Current Behavior

Using this task will not determine code coverage "out of the box".
It will work if one does the following steps beforehand:

  • Build the SDk with coverage instrumentation: ./build.sh -r --cov
  • Run the unit tests: ./build/bin/sdk_utests

Steps to Reproduce

Press Ctrl+Shift+P, select "Tasks: Run Task" -> "CPP - Calculate code coverage"

Expected Behavior

Task should determine code coverage properly without additional prerequisites

Possible Solution

Alternatively, this task should be removed

Additional Information

No response

Code of Conduct

  • I agree to follow this project's "Code of Conduct".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions