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

New Post: Map the test case and the API used in program under code coverage

$
0
0
Hello,

Now, the only solution is to run the 3 test cases one by one.

It should be possible to store the location of the first caller for each line.
Storing multiple callers is equivalent to count the number of times a line is executed. I am afraid this will slow down a lot the covered application.

Anyway, this is an interesting feature but I already have a lot of things planned. Perhaps I will work on it after.

You can try to do it yourself but it is not easy to compile OpenCppCoverage (One thing I plan to work on). You can check CodeCoverageRunner::OnBreakPoint. This function is called the first time a line is executed.

I hope this will help,

OpenCppCoverage

Viewing all articles
Browse latest Browse all 235

Latest Images

Trending Articles



Latest Images