如何通过运行命令行的所有Web测试 [英] How to run all web tests by command line

查看:205
本文介绍了如何通过运行命令行的所有Web测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有专门的DLL项目webtests。我知道如何运行指定WebTest的

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

但我怎么可以用一个命令来运行,从这个库中的所有webtests?如果我给DLL路径testcontainer然后我得到的消息没有测试,发现

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"

推荐答案

试试这个:

MSTest的/testcontainer:PostAccessToken.dll

MSTest /testcontainer:PostAccessToken.dll

这篇关于如何通过运行命令行的所有Web测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆