running MSTest from commandline:
https://msdn.microsoft.com/en-us/library/ms182486.aspx
https://msdn.microsoft.com/en-us/library/ms182486.aspx
General Command Line Options
/testcontainer:[file name]
|
Load a file that contains tests.
Example: /testcontainer:tests.dll
For more information, see /testcontainer.
| ||
/testmetadata:[file name]
|
Load a file that contains test metadata. For more information, see /testmetadata.
| ||
/testlist:[test list path]
|
Specify the test list, as specified in the metadata file, to be run. For more information, see /testlist.
| ||
/category:[test category filter]
|
Specify and filter which test categories to run. For more information, see /category.
| ||
/test:[test name]
|
Specify the name of a test to be run. For more information, see /test.
| ||
/noisolation
|
Run tests within the MSTest.exe process. This choice improves test run speed but increases risk to the MSTest.exe process.
| ||
/testsettings: [file name]
|
Use the specified test settings file.
Example: /testsettings:Local.Testsettings
For more information, see /testsettings.
| ||
/runconfig:[file name]
|
Use the specified run configuration file.
Example: /runconfig:localtestrun.Testrunconfig
For more information, see /runconfig.
| ||
/resultsfile:[file name]
|
Save the test run results to the specified file.
Example: /resultsfile:testResults.trx
For more information, see /resultsfile.
| ||
/detail:[property id]
|
Specify the name of a property that you want to show values for, if any, in addition to the test outcome. For more information, see /detail.
| ||
/help
|
Display the MSTest.exe usage message (short form: /? or /h).
| ||
/nologo
|
Display no startup banner and copyright message.
| ||
/usestderr
|
Use standard error to output error information.
|
No comments:
Post a Comment