Running Automated Tests Using Microsoft Visual Studio

 

To run your automated tests locally or use a test controller and test agents, use Visual Studio. Or, if you have to plan your test effort and run tests as part of a test plan, use Microsoft Test Manager, which is included with Visual Studio Enterprise and Visual Studio Test Professional. You can also create and run manual tests with Microsoft Test Manager.

See:

Tasks

Tasks Associated Topics
Running automated tests locally from Visual Studio: You can run automated tests including unit tests, coded UI tests, generic test, and ordered tests locally using Test Explorer. Additionally, you can run load test, from the load test editor. Note: Load test and Web performance tests require Visual Studio Enterprise. - How to: Run Automated Tests from Microsoft Visual Studio
- How to: Run Tests from Microsoft Visual Studio
- Run Tests from Your Source Code Files
- Running Load Tests
Running automated tests remotely from Visual Studio: You can run automated tests remotely by using test controllers and test agents. - How to: Run a Test Using Test Controllers and Test Agents
Viewing results for your automated test runs in Visual Studio: You can view the results for your automated test runs in Test Explorer. For load tests, you can view the results in either the Test Results window, or in the Load Test Analyzer window. Note: Load test and Web performance tests require Visual Studio Enterprise. - Run Tests from Test Explorer
- How to: Save and Open Web Performance and Load Test Results in Visual Studio
- Load Test Analyzer Overview

Configure your test plan and lab environment for automated tests

You can run automated tests from a test plan if you associate them with test cases in Microsoft Test Manager.

Running automated tests from the command line

You can also run your automated tests from the command line.

See Also

Running Automated Tests in Microsoft Test Manager
Creating Automated Tests Using Microsoft Test Manager
Defining a Test Plan