开发者

How to run the sub directory test list in VSMDI file using command line

开发者 https://www.devze.com 2023-03-13 00:25 出处:网络
I want to run specific sub-directory test list in VSMDI file from command line. for example: sanity -> basic

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"
0

精彩评论

暂无评论...
验证码 换一张
取 消