Share via


Running System Tests Using Microsoft Visual Studio

There are several ways to run your automated tests. If you just want to run your automated tests locally or use a test controller and test agents, you can do that from Visual Studio.

However, if you have to plan out your testing effort and run your tests as part of a test plan, you can use Microsoft Test Manager. For more information about how to use Microsoft Test Manager, see Defining a Test Plan and How to: Run Automated Tests In a Lab Environment Using Microsoft Test Manager.

Note

Microsoft Test Manager is provided as part of Visual Studio Ultimate. Visual Studio Premium, and Visual Studio Test Professional SKUs. Microsoft Test Manager is also used to create and run manual tests. For more information, see Running Manual Tests Using Test Runner.

Tasks

Use the following topics to help you run automated tests using Visual Studio:

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 Ultimate.

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.

Note

Load test and Web performance tests require Visual Studio Ultimate.

How to: Run Automated Tests In a Lab Environment Using Microsoft Test Manager

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

Concepts

Running Automated Tests in Microsoft Test Manager

Defining a Test Plan

Other Resources

Creating Automated Tests Using Microsoft Test Manager