CoverageMeter
Code Coverage Measurement for C/C++

Generation of Visual Studio Project with Code Coverage

Project Generation using Microsoft® Visual Studio® 2005 & 2008 Add-In

CoverageMeter provides an addin to Microsoft®Visual Studio® .NET which permits to create or modify a build mode in order to be instrumented for code coverage. Watch demonstration…

Compilation with Code Coverage Support without Addin

Using CoverageMeter together Microsoft®Visual Studio® without its addin is easy and requires only to set some environment variables and add additional command line parameters to the compiler and linker. Watch demonstration…

Interactive Application Testing

Once compiled with code coverage support, CoverageBrowser permits to tests interactively an application and monitor the test coverage. An execution report is generated by the application compiled with CoverageScanner upon its exit. Its generation is automatically detected by CoverageBrowser which opens automatically an import dialog. Watch demonstration…

Unit Testing with CppUnit

CoverageMeter can easily be adapted to the CppUnit framework to collect automatically the code coverage information from each unit test. This tutorial applies the rules described in the CppUnit chapter of CoverageScanner. CoverageScanner #pragma extensions are used to exclude the testing code (the source code of the unit tests itself) in order to get only the code coverage of the tested library. Watch demonstration…

Click here to see the HTML report generated for this example.