是否可以在计算机上仅安装mstest.exe而无需安装TestControllers / Agents和Visualstudio 2010? [英] Is it possible to install only mstest.exe on a machine without installing the TestControllers/Agents and Visualstudio 2010?

查看:146
本文介绍了是否可以在计算机上仅安装mstest.exe而无需安装TestControllers / Agents和Visualstudio 2010?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在没有安装VSTS 2010的机器X上运行我的测试

I want to run my tests on a machine X where VSTS 2010 is not installed

我创建了一个调用mstest.exe的批处理文件,并运行测试机器。

I have created a batch file that invokes mstest.exe and runs the tests on the machine.

是否需要在机器上安装VSTS 2010,这是不可能的,因为我的测试需要在不建议安装VSTS 2010的多台机器上运行。

Is VSTS 2010 need to be installed on the machine which is not possible as my tests need to be run on multiple machines where installing VSTS 2010 is not suggested.

在没有安装任何TestControllers / Agents和VSTS 2010的情况下,在计算机上安装MSTEST.EXE 的先决条件是什么。

What are the prerequisites to install MSTEST.EXE on a machine without installing any TestControllers/Agents and VSTS 2010.

任何人都可以提供帮助这...

Can anyone help on this...

 

谢谢

Chaitu

 

 

推荐答案

因此,Visual Studio与MSTest完全分开。有两种不同的方法可以将MSTest放到盒子上(如果你进行自动化测试,这些是推荐的方法 - 不支持或推荐单独安装MSTest)。

So, Visual Studio is really separate from MSTest. There are two different ways you can get MSTest onto a box (and if you doing automated tests these are the recommended ways - trying to install MSTest stand-alone is not supported or recommended).


  1. 安装团队构建 - 这将安装MSTest,因此可以在构建期间执行测试
  2. 安装测试代理 - 这将安装MSTest,因此测试可以在任何地方执行时间(即通过MTM自动测试)

您不需要安装Visual Studio,通常不推荐用于专门用于测试的机器但是有充足的理由说明你可能需要/需要这样做。

You do NOT need to install Visual Studio and it isn't generally recommended for a machine used exclusively for testing but there are ample reasons why you may want/need to do it.

 


这篇关于是否可以在计算机上仅安装mstest.exe而无需安装TestControllers / Agents和Visualstudio 2010?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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