从命令行运行自动测试MSTest\ VSTest.Console.exe\ TCM.exe
来源:互联网 发布:淘宝书店推荐 编辑:程序博客网 时间:2024/05/18 09:58
Visual Studio 2012 包含用于测试目的的以下命令行工具:
VSTest.Console.exe 可以使用 VSTest.Console.exe 程序从命令行运行自动测试和编码的 UI 测试。VSTest.Console.exe 针对性能进行了优化,并在 Visual Studio 2012 中代替 MSTest.exe。
MSTest.exe 可以使用 MSTest.exe 程序从命令行运行测试程序集中的自动测试。MSTest 用于负载测试和与 Visual Studio 2010 测试项目的兼容性。 MSTest 还可用于查看这些测试运行的测试结果,将结果保存到磁盘中,以及将结果保存到Team Foundation Server中。
TCM.exe Tcm.exe 是一个命令行实用工具,可利用该工具执行以下任务:
将自动测试导入到测试计划
从命令行运行作为测试计划一部分的测试
导入测试或运行测试时查看要使用的测试项及其相应 ID 列表
还可以通过测试环境从命令行使用 tcm.exe 运行具有关联的自动化的测试用例。
VS2012
"D:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe" /testcontainer:D:\codes\Test\Test\bin\Debug\Tests1.dll /TestSettings:D:\codes\Tests1\Local.testsettings
mstest.exe /testmetadata:D:\codes\Test\Tests1.vsmdi /testlist:l2
VS2013
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\mstest.exe" /testcontainer:E:\svn\test\testcodes\bin\Debug\TestCodes.dll
VSTest.Console.exe E:\svn\test\testcodes\IVRVerificationCodes\TestVerificationCodes\TestVerificationCodes\bin\Debug\TestVerificationCodes.dll
- 从命令行运行自动测试MSTest\ VSTest.Console.exe\ TCM.exe
- 从命令行使用 MSTest 运行自动测试
- MSTest.exe 命令行选项
- 从内存运行exe
- 运行.exe,并自动关闭.exe
- 使用mstest.exe 命令行跑test case(不安装Visual Studio 2010)
- 悄悄自动运行的进程 ALIIM.EXE、AcExUpdate.exe、FlashPlayerUpdateService.exe和GoogleUpdate.exe
- 在jenkins上使用mstest自动运行VS测试用例
- iexplore.exe自动运行解决方案之一
- Run Automation Test by MSTest.exe on 64bit OS
- 从内存中加载并运行exe
- 从内存中加载并运行exe
- 删除后台自动运行PPAP.exe,怎么禁止PPAP.exe自动运行
- VC通过命令行参数禁止用户双击运行exe
- VC通过命令行参数禁止用户双击运行exe
- 如何用命令行法和系统调用法运行.exe ?
- phpstorm命令行运行console
- IEXPLORE.EXE命令行参数
- Cocos2d-x 和粒子编辑器实现“天天爱消除”场景特效
- 优秀技术网站集锦
- shell脚本中判断进程是否存在
- Search in Rotated Sorted Array I II
- 深入理解进程(一)
- 从命令行运行自动测试MSTest\ VSTest.Console.exe\ TCM.exe
- Jenkins01环境搭建
- NavUtils当中navigateUpTo和shouldUpRecreateTask
- cocos2dx粒子系统
- pgsi
- STL deque的emplace方法(12)
- android记录点击次数
- trap捕捉信号学习
- 从命令行使用 MSTest 运行自动测试