Analyzing Code Coverage Results

You can measure how much of your project's code is covered by unit tests by using code coverage. The resulting data is displayed on a line-by-line or even a block-by-block basis. To do this, configure test runs to produce code coverage data. For more information, see Configuring Code Coverage.

You can view the resulting data in the Code Coverage Results window and in your source code files.

Key Tasks

Tasks

Associated Topics

To see the code coverage results for a project: You can observe the results of running tests on your project in the Code Coverage Results window.

Merging code coverage results data: You can merge the code coverage data obtained through multiple test runs, or from multiple testers. You can also save the result of merging code coverage data, and re-import it.

See Also

Concepts

Verifying Code by Using Unit Tests

Other Resources

Using Code Coverage to Determine How Much Code Is Being Tested