如何通过命令行运行所有Web测试

时间:2015-06-01 14:04:41

标签: c# .net testing command-line webtest

我为webtests提供了专门的DLL项目。我知道如何运行指定的webtest

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE>mstest /testcont
ainer:"MyPath\PostAccessToken.webtest" /resultsfile:MyResultPath\MyResults.trx

但是如何通过一个命令从这个库中运行所有网络测试?如果我将DLL路径作为testcontainer给出,那么我会收到消息“找不到测试”

1 个答案:

答案 0 :(得分:0)

试试这个:

MSTest /testcontainer:PostAccessToken.dll

相关问题