Quantcast
Channel: opencppcoverage Discussions Rss Feed
Viewing all articles
Browse latest Browse all 235

New Post: Can run opencppcoverage without source code?

$
0
0
stingyu wrote:
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.

Viewing all articles
Browse latest Browse all 235

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>