Configuring Test Execution

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

In This Section

  • How to: Apply a Test Run Configuration
    Describes how to make a particular test run configuration active. This means that the test execution engine will adhere to the settings in the active test run configuration when it runs tests.
  • How to: Edit a Test Run Configuration File
    Test run configuration settings are stored in an XML file. Although you can change most settings by using the test run configuration dialog box, you must edit the XML file directly to change other settings.
  • 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.
  • Command-Line Test Execution
    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.

See Also

Other Resources

Test Results and Analysis