AxoCover icon indicating copy to clipboard operation
AxoCover copied to clipboard

no managed C++ CLI

Open fgenolini opened this issue 6 years ago • 0 comments

Hi, I have created a C++ CLI project using the latest Visual Studio 2017 (Version 15.9.10 on a 64-bit Windows 10 PC), then I have added a couple of MsTest unit test projects (1 old and 1 new project). I have selected the "Debug | x86" configuration, built the solution and run the tests in "Test Explorer": both test projects are detected and all tests pass.

AxoCover discovers both unit test projects and executes them, but the code coverage report only shows 1 C# assembly (in the old project format), and does not report on the managed C++ CLI assembly. Is this a bug?

CppAdapter.zip

image

If I set the filter to "+[CppAdapter*]*", then all test projects are found (both old and new project formats) and the C++ code coverage is shown.

image

fgenolini avatar Apr 01 '19 13:04 fgenolini