Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Testing Tools Tasks
Running Tests

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual Studio Team System
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, from a command line, any tests other than manual tests.

How to: Obtain Command-Line Test Results

MSTest.exe automatically displays basic test results to the command-prompt window. This topic describes how to save command-line test results 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, whether to publish test results, and which run configuration file to use.

Related Sections

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.

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker