Build the code to test with with /PROFILE linker switch.For the sake of reference, here are the steps for command line generation of the coverage statistics: Please note that it's possible to generate the coverage data by using command line tools, but I am unable to find a way to look at the results. Is it possible to get code coverage reports with the Professional edition, preferably without installing any third party tools? If not, what alternate options exist for people who are not using the more expensive editions of the IDE? Using the C++ unit testing framework with Visual Studio 2013 Professional, one can write unit tests and run them from within the IDE, but in order to generate any coverage reports, apparently, one needs to have the Premium or Ultimate edition of Visual Studio. This question was migrated from Software Engineering Stack Exchange because it can be answered on Stack Overflow.
0 Comments
Leave a Reply. |