Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Obtaining Test Results

Running a test automatically produces test results, saves them to disk, and displays results summaries in the Test Results window. Code-coverage information is also a form of test result, but you must configure test runs to obtain it; for more information, see How to: Obtain Code Coverage Data.

In This Section

Test Results Reported

Describes the kinds of test results that are reported for the various test types, and the pages of the Visual Studio IDE on which those results are displayed.

Basic Test Results

Describes how running a test produces a result and then displays it in the Test Results window.

How to: Adjust Test Results Views

Describes how to change the display of the Test Results window.

How to: View Test Results Through a Build Report

Describes how to use the locate published test results in the Team Builds folder in the Team Explorer window and download the results to your computer.

How to: Obtain Code Coverage Data

Describes how you can measure the effectiveness of tests on a line-by-line or even a block-by-block basis by configuring test runs to produce code coverage information.

How to: Create a Work Item from a Test Result

Describes how to use the Test Results window to create a bug directly from a test result.

How to: Merge Code Coverage Data

Describes how to merge code coverage data that was gathered during multiple test runs.

Working with Merged Code Coverage Data

Describes how to export and import merged test results, how to merge data from ASP.NET test results, and how to import code-coverage data files.

Related Sections

Saving and Publishing Test Results

Describes how to automatically save a test results to your computer's hard disk when you run tests.

How to: Rerun a Test

Describes how to repeat a test run. You can repeat a test run, for example, after having changed the code being tested, the code of the test methods, or the active test run configuration.

See Also

Community Additions

© 2015 Microsoft