Command-Line Test Execution
You use the MSTest.exe program to run tests from a command line. The topics in this section describe how to use the MSTest.exe command to run tests, see test results, save results to disk, and publish results to your team's operational store.
In This Section
How to: Run Tests from the Command Line
Describes how to use the MSTest.exe command to run tests from a command line.How to: Obtain Command-Line Test Results
Describes how to save MSTest.exe test results displayed in the Command Prompt window to a particular file and how to publish command-line test results to the operational store.MSTest.exe Command-Line Options
Describes the options that you can use with MSTest.exe. These options let you specify such choices as which tests to run, which run configuration file to use, and whether to publish test results.Command-Line Options for Publishing Test Results
Describes the options that you can use with MSTest.exe to publish test results.Walkthrough: Using the Command-line Test Utility
In this walkthrough, you use the MSTest.exe command-line utility to run tests that you created in a previous walkthrough.