Visual Studio C ++ test coverage solutions anomaly

The default UnitTest such anomalies may arise

through access to information finally found a solution
as follows:

In the test project right property

to Configuration Properties -> Linker -> Debugging generate debugging information is modified as shown, and then test coverage

it can display the results of normal

Guess you like

Origin www.cnblogs.com/cazenove/p/12321414.html