0

I have a Visual Studio solution with this architecture:

  • core.lib

  • api.dll (imports core.lib, no actual code)

  • tests.exe (imports core.lib)

I'm running OpenCppCoverage from the root of the solution with:

C:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --source core\** --export_type cobertura:coverage_result\coverage.xml -- .\x64\Debug\tests.exe

My tests only cover some of the source code in core.lib , some files are not covered by any tests.

Those untouched files are not present in the report, only files with some coverage (more than 0%) show up.

How can I make it so that all source files show up in the coverage report?

1

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.