C/C++test can collect coverage information from unit testing, functional testing, as well as other kinds of application execution. C/C++test supports a range of coverage metrics and can be used for native and cross-application development.

Collecting coverage information with C/C++test involves three phases:

  1. Instrumenting and building source code
  2. Executing instrumented code
  3. Generating a report

The Instrumenting and Building Instrumented Source Code section provides a general description of integrating with a build system. For details on integrating with Make- or MSBuild-based projects, see Integrating with Make-based Build Systems and Integrating with MSBuild.

  • No labels