Hello,
You did a very depth analysis of the problem.
The exception 0xE06D7363 is the SHE code for C++ exception and can explain your problem.
I tested the code you post but did not find something.
I tried to create a more complex using vstest.console.exe. I am able to reproduce the same issue (No coverage).
I tested your VS plugin. You made an impressive work in a few days...
I am able to see the coverage for VS unit tests without any problem.
When I tested on normal executable, I had an issue.
In
Note: I tested on a computer without Visual Studio 2013 and so I updated all versions of the dll from v12 to v14.
I also noticed that "CoverageReport windows" is always empty in my case.
Note that I am also working on improving the current plugin. I plan to make a completely new release for the end of the summer.
I am going to update this discussion as soon as I have more information about the empty coverage issue.
OpenCppCoverage
You did a very depth analysis of the problem.
The exception 0xE06D7363 is the SHE code for C++ exception and can explain your problem.
I tested the code you post but did not find something.
I tried to create a more complex using vstest.console.exe. I am able to reproduce the same issue (No coverage).
I tested your VS plugin. You made an impressive work in a few days...
I am able to see the coverage for VS unit tests without any problem.
When I tested on normal executable, I had an issue.
In
CoberturaData, line 106 lookup.Add(file.ToLower(), current); I get exceptions because the key already exist. I did a quick hack by putting a "try catch" around line 106 and was able to see coverage.Note: I tested on a computer without Visual Studio 2013 and so I updated all versions of the dll from v12 to v14.
I also noticed that "CoverageReport windows" is always empty in my case.
Note that I am also working on improving the current plugin. I plan to make a completely new release for the end of the summer.
I am going to update this discussion as soon as I have more information about the empty coverage issue.
OpenCppCoverage





