OpenCppCoveragePlugin
OpenCppCoveragePlugin copied to clipboard
module matches no selected pattern (Visual Studio 2017 & gtest)
I get no code coverage results.
verbose info seems to say that my project (module?) is not used.
But it also builds the tests?!
Hi,
You have no coverage because you run C:\VCS\Leonardo\FBG_Steuerung_Kondensor_SF_FF_Observer\Condenser_Control\Solution\Debug\SVC_LIGHT_Tests.exe
whereas the selected module is P:\Leonardo\FBG_Steuerung_Kondensor_SF_FF_Observer\Condenser_Control\Solution\Debug\SVC_LIGHT_Tests.exe
(P: VS C:\VCS)
Does drive P:
map to C:\VCS
?
If yes, Network path special considerations can help. Rebuilding your application and running the coverage computation should work.
If not, can you explain how you setup P:
so that I can investigate?
You can also add C:\VCS\Leonardo\FBG_Steuerung_Kondensor_SF_FF_Observer
in selected module
and selected source
in Filter
tab.
I hope it helps,
OpenCppCoverage
OK, you're right, there is this mapping.
When opening solution von C:\VCS and build it the plugin is working. That actually is enough for me.
Thx!