Hi,
I'm attempting to get OpenCPPCover to work with a native C++ test using Visual Studio Community 2015. Layout of the application:
C:\Projects\Engine\x64\Debug>opencppcoverage --continue_after_cpp_exception --cover_children --modules C:\Projects\Engine --sources C:\Projects\Engine -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" /Platform:x64 UnitTests.dll
The results:
The DLL is compiled as x64 DLL and I'm using version 0.9.5.2 (x64).
I'm attempting to get OpenCPPCover to work with a native C++ test using Visual Studio Community 2015. Layout of the application:
- Engine.lib (static library project)
-
UnitTests.dll (native C++ unit test project)
C:\Projects\Engine\x64\Debug>opencppcoverage --continue_after_cpp_exception --cover_children --modules C:\Projects\Engine --sources C:\Projects\Engine -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" /Platform:x64 UnitTests.dll
The results:
- Unit tests execute fine;
- The report outlines the correct files;
-
Coverage is not measured. Every file gets 0% covered, 100% uncovered (even though I know that's not correct).
The DLL is compiled as x64 DLL and I'm using version 0.9.5.2 (x64).





