Share via


Running Tests

From the Test Manager window and the Test View window, you can start to run any type of test. But for certain test types, the way you continue to run the test can vary. For more information about how to run these specific test types, see the following topics:

You can also run most kinds of tests from a command line. For more information, see Command-Line Test Execution.

In This Section

  • 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.
  • 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.
  • Configuring Test Execution
    Describes how to use test run configurations to change how tests are run, including how to gather code-coverage information and how to specify a test host.
  • 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.
  • Guidelines for Smoke Testing
    Provides advice about the concept of smoke testing, the process of validating code changes before the changes are checked into a product's source tree.
  • Managing Tests
    Describes aspects of working with tests, including how to customize and filter test views, how to work with test lists, and how to associate tests with work items.
  • Test Results and Analysis
    Describes test results and ways to work with them, including how to view, save, and publish them and how to create bugs from them.
  • Creating Unit Tests
    Provides links to topics about generating and authoring unit tests, including ASP.NET unit tests and data-driven unit tests.

See Also

Tasks

Walkthrough: Creating and Running Unit Tests
Walkthrough: Using the Command-line Test Utility
How to: Obtain Code Coverage Data