Configuring How to Run Your Tests from Microsoft Visual Studio

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

You can configure how tests run. For example, when you define your test settings, you determine the way test runs are named, the files that accompany tests when they run, and whether unit tests generate code-coverage information.

How to: Specify Test Settings from Microsoft Visual Studio

Describes how to make settings that control the way that test runs proceed. Your settings are saved to disk in test run configuration.

How to: Apply Test Settings From Microsoft Visual Studio

Describes how to make a particular test settings active. This means that the test execution engine will adhere to the settings in the active test settings when it runs tests.

How to: Edit a Test Settings File from Microsoft Visual Studio

Test settings are stored in an XML file. Although you can change most settings by using the test settings dialog box, you must edit the XML file directly to change other settings.

Editing a Test Settings XML File

Shows the structure of a test settings file and provides two examples of settings that you can change only by editing the file manually.

How to: Debug while a Test is Running

Describes how to debug your code while a unit test is running.

How to: Debug while Running a Test in an ASP.NET Solution

Describes how to debug while testing ASP.NET code that is running either on IIS or on the ASP.NET Development Server.

How to: Debug while Running a Smart Device Unit Test

Describes how to debug while running a smart device unit test.

How to: Create a Performance Session for a Test

Describes how to obtain reports on various actions of running code, such as memory allocation.

Configuring Code Coverage

Describes the concepts of instrumenting assemblies so that they produce code-coverage data. Also describes how code-coverage data is displayed in the Code Coverage Results window.

Test Deployment

Provides links to topics that describe how tests are deployed before they are run, how to configure test deployment, and how to instrument and re-sign assemblies.

How to: Run Automated Tests from Microsoft Visual Studio

Describes the various ways to run single tests, multiple tests, and test projects.

Running Automated Tests from the Command Line

Provides links to topics that describes how to use the MSTest.exe program to run tests from a command line, see test results, save results to disk, and publish results.

Show: