How do I enable code coverage in Visual Studio 2005?

Posted by CandlesOfThe on Stack Overflow See other posts from Stack Overflow or by CandlesOfThe
Published on 2010-06-11T08:25:15Z Indexed on 2010/06/11 9:22 UTC
Read the original article Hit count: 206

Filed under:
|
|
|

I have looked at this question; http://stackoverflow.com/questions/2872158/ and the F1 page, but that doesn't help me much. I have set the profiling on and rebuilt, but I can't find the 'Data and Diagnostics' page, or see anything which resembles a coverage data file in the project folder.

What I am trying to do get an equivalent to 'gcov' on a Linux platform, get a chart of how much code is being missed by the test suite.

I'm using Visual Studio 2005 Professional Edition and UnitTest++ as the test framework. Any help would be most welcome.

© Stack Overflow or respective owner

Related posts about c++

Related posts about visual-studio-2005