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

New Post: OpenCPPCover with native C++ test

$
0
0
Hi,

I can confirm that my project is a native, unmanaged, non-clr DLL library.

Yesterday I've also modified my unit tests a bit, so that I can call them from my own C++ test/EXE application (without using vstest.console.exe; it simply uses LoadLibrary and self-registering functions).

It is interesting that you mention managed code. The vstest.console.exe does load a lot of managed DLL's in the process, as you can see in the log file: https://data.nubilosoft.com/opencppcoverage_log.txt .

Even more annoying is that I've attempted to make a minimum test case, which should work exactly the same as my engine DLL ( https://data.nubilosoft.com/TestCPPCoverage.7z ) -- but unlike the Engine, this one actually works fine with OpenCPPCoverage. That's not making it easier...

Please let me know if you spot anything out of the ordinary; otherwise I'd be happy to put some breakpoints in the OpenCPPCoverage code myself; some pointers on where to look are much appreciated though...

Cheers,
Stefan.

PS: some time ago I created a visual studio addin for highlighting managed code coverage results. If this works, I'd be happy to share that code, so we can make a fully integrated addin for VS.

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>