stingyu wrote:
"c:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --export_type cobertura:cobertura.xml --continue_after_cpp_exception --cover_children -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" /Platform:x64 MinimumTest.dll
The HTML outputter obviously loads the files so it can generate the highlighted code. Cobertura files can be read by gcov iirc. At some point you probably still need the source code though; PDB files don't include this.
I already tried this way, but looks it does not work.Works fine here. Just tested it (without source code):
"c:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --export_type cobertura:cobertura.xml --continue_after_cpp_exception --cover_children -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" /Platform:x64 MinimumTest.dll
The HTML outputter obviously loads the files so it can generate the highlighted code. Cobertura files can be read by gcov iirc. At some point you probably still need the source code though; PDB files don't include this.
I think you are working with VS plugin, so can get source code.Not sure what you mean with this; I built a VS plugin.. it's a different, unrelated story.









