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:
-
Web tests: How to: Run a Web Test
-
Load tests: Running Load Tests
-
Manual tests: How to: Run a Manual Test
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: Run Selected Tests
-
Describes the various ways to run single tests, multiple tests, and test projects.
- How to: Pause, Resume, and Stop a Test Run
-
Describes how to use the Test Results window to control a test run that is underway.
- 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.
- How to: Schedule Test Runs
-
Describes how to use Windows Task Scheduler to create and schedule a task that runs tests.
- How to: Find and View Test Runs
-
Describes how to find test runs that were run locally or remotely and view their results.
- 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.
- Troubleshooting Test Execution
-
Describes problems that prevent tests from running and other errors that you might encounter.
- 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.