The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Analyzing Code Coverage Results

Visual Studio 2010

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.


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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft