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

New Post: OpenCPPCover with native C++ test

$
0
0
Hello,

You can also try the following things:
  1. Make a copy of your project
  2. Add a new test with one line #1
  3. Check if OpenCppCoveage produces coverage for test #1 (You probably need to update --sources and --modules)
    3.1. if yes: You can chose another test and comment code until you see coverage for this test.
    3.2. if no: You can remove all your tests but keep #1.
    3.2.1. If you can see coverage for #1, there is probably a function call that create the problem (dichotomy should help)
    3.2.2. If you cannot see the coverage, you can remove the link with your static dll and try again:
    3.2.2.1. If this solve the problem, there is probably a special settings in the static library
    3.2.2.2. If not, that means you have a dll with a single test case that does not work. You can compare the dll settings with the default one.
Let me know if you find something,

OpenCppCoverage

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>