How to run the sub directory test list in VSMDI file using command line
I want to run specific sub-directory test list in VSMDI file from command line. for example:
sanity
-> basic
-> basic1
functionality
-> func1
-> func2
There are 2 main test lists sanity and functionality, I want to run using the mstest command line only the sanity->basic2
Command line that i'm using today:
"\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe" /testmetadata:"Auto.vsmdi" /testlist:开发者_开发问答"Sanity" /resultsfile:result.trx
You can use the "/" to separate the test lists in the test list hierarchy as in:
"/testlist:OuterList/InnerList"
精彩评论