When you run tests, results are automatically generated, saved to disk, and displayed in the Test Results window. For most test types, you can also obtain more in-depth results, such as code-coverage data.
Test results are also saved to your computer's hard disk when you run tests. If your team is using a Team Foundation Server team project to help manage its work, you can also publish test results; after publication, they can be merged with other data and used in reports.
This section of the documentation describes how to view test results both quickly and in-depth, and how to save, retrieve, delete, and publish them.