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

时间:2021-12-15 00:12:59

I have dedicated DLL project for webtests. I know how to run specified 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

But how can I run all webtests from this library by one command? If I give DLL path as testcontainer then I get message "no tests found"

但是如何通过一个命令从这个库中运行所有webtests?如果我提供DLL路径作为testcontainer然后我得到消息“没有找到测试”

1 个解决方案

#1


0  

Try this :

试试这个 :

MSTest /testcontainer:PostAccessToken.dll

#1


0  

Try this :

试试这个 :

MSTest /testcontainer:PostAccessToken.dll