Walkthrough - Collecting Coverage Data

Related Topics

The first step in monitoring and improving coverage is to collect coverage data by running your program under PureCoverage.

Before you begin, make sure that debug data is available for your program. If you are monitoring a native-compiled (unmanaged) program, relocation data is also necessary.

As your program runs, PureCoverage collects coverage data and displays a summary of coverage in the Run Summary window. When you have completed your testing, exit your program. PureCoverage displays the data it has collected.

Instructions for collecting data

Specific instructions depend on the programming language and the environment.

Java code, from the following environments:

§          PureCoverage standalone

§          command line

.NET managed code, from the following environments:

 

§          Visual Studio

§          PureCoverage standalone

§          command line

Native (unmanaged) Visual C++, from the following environments:

§          PureCoverage standalone

§          command line

Visual Basic, from the following environments:

 

 

§          Visual Studio (for Visual Basic .NET programs)

§          PureCoverage standalone

§          command line

(C) Copyright IBM Corporation 1993, 2010.