Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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.

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.

Community Additions

ADD
Show:
© 2015 Microsoft