How to run all web tests by command line

浪子不回头ぞ 提交于 2020-01-05 15:19:51

问题


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


回答1:


Try this :

MSTest /testcontainer:PostAccessToken.dll



来源:https://stackoverflow.com/questions/30575634/how-to-run-all-web-tests-by-command-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!