To access the
MSTest tool, add the Visual Studio install directory to the path or open the Visual Studio Group from the Start menu, and then open the Tools section to access the Visual Studio command prompt. Use the command
MSTest from the command prompt.
MSTest command expects the name of the test as parameter to run the test. Just type
MSTest /help or
MSTest /? at the Visual Studio command prompt to get help and find out more about options.
The following table lists the different parameters that can be used with
MSTest and the description of each parameter and its usage:
In addition to these options, there are many other options which can be used with
MSTest if Team Explorer is used: