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.
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.
Running automated tests remotely from Visual Studio: You can run automated tests remotely by 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.
You can run automated tests from a test plan if you associate them with test cases in Microsoft Test Manager.
You can also run your automated tests from the command line.