VS2015Ent-如何配置测试代理和测试控制器 [英] VS2015Ent - How to configure Test Agents and Test Controllers

查看:95
本文介绍了VS2015Ent-如何配置测试代理和测试控制器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用VS2015 Enterprise配置测试控制器和测试代理?所需的可执行文件丢失.

How do I configure test controllers and test agents with VS2015 Enterprise?  The required executables are missing.

当我安装VS2015Ent时,似乎没有配置测试代理的新工具,如果我尝试使用VS2013工具,它将运行似乎与VS2015不兼容的2013代理.

When I install VS2015Ent there doesn't seem to be a new tool to configure test agents and if I try the VS2013 tool it runs the 2013 agent which doesn't seem compatible with VS2015.

在VS2013中,可执行文件称为TestAgentConfigUI.exe.该可执行文件未随VS 2015一起安装,当我尝试运行VS2015测试代理时,它说它需要配置.

With VS2013 the executable is called TestAgentConfigUI.exe.  This executable does not install with VS 2015 and when I try to run the VS2015 Test Agent it says it needs to be configured.

这是我所看到的已安装:

Here is what I see that is installed:

c:\ Program Files(x86)> dir testagentconfig * .exe/s
 驱动器C中的卷为WIN7引导
卷序列号是34FC-854B

c:\Program Files (x86)>dir testagentconfig*.exe /s
 Volume in drive C is WIN7 Boot
 Volume Serial Number is 34FC-854B

c:\ Program Files(x86)\ Microsoft Visual Studio 12.0 \ Common7 \ IDE的目录

 Directory of c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE

06/28/2015  09:58 PM                               40,640 TestAgentConfig.exe
2015年6月28日09:58 PM          206,536 TestAgentConfigUI.exe
             2个文件247,176字节

06/28/2015  09:58 PM            40,640 TestAgentConfig.exe
06/28/2015  09:58 PM           206,536 TestAgentConfigUI.exe
               2 File(s)        247,176 bytes

c:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ Common7 \ IDE的目录

 Directory of c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE

2015年7月2日  02:34 PM                          43,712 TestAgentConfig.exe
             1个文件43,712字节

07/02/2015  02:34 PM            43,712 TestAgentConfig.exe
               1 File(s)         43,712 bytes

   列出的文件总数:
             3个文件290,888字节

     Total Files Listed:
               3 File(s)        290,888 bytes

我也尝试过运行命令行工具TestAgentConfig.exe,但是无法指定我可以看到的测试控制器.

I have also tried running the command line tool TestAgentConfig.exe but there is no way to specify a test-controller that I can see.

VS2015是否已放弃对托管代理和控制器的本地计算机上运行的CUIT的支持? VS2013中的测试代理配置工具是否应该配置VS2015?如果是这样,我如何指导它做到这一点?是所有控制器 和代理相同,并且运行哪个版本(12.0或14.0)都没有关系?

Has support for CUITs run on local computers hosting agents and controllers been dropped with VS2015?  Is the test agent configuration tool from VS2013 supposed to configure VS2015?  If so how to I direct it to do that?  Are all the controllers and agents the same and it doesn't matter which version, 12.0 or 14.0, is running?

潜在的问题以及我问这些问题的原因是因为当我使用较旧的VS2013工具设置了代理和控制器时,在尝试运行测试(在VS2013中运行)时,出现以下错误在VS2015上:

The underlying issue and the reason I'm asking these question is because when I have the Agents and Controller set up using the older VS2013 tools, I get the following error when trying to run my tests (that ran in VS2013) over on VS2015:

消息:测试适配器('Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter,Microsoft.VisualStudio.QualityTools.Typs.UnitTest.Adapter,版本= 14.0.0.0,区域性=中性,PublicKeyToken = b03f5f7f11d50a3a ')执行此操作所需 测试无法加载.检查测试适配器是否正确安装.无法将类型为"Microsoft.VisualStudio.TestTools.Unit.TestAdapter"的对象转换为类型为"Microsoft.VisualStudio.TestTools.TestAdapter.ITestAdapter".

Message: The test adapter ('Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter, Microsoft.VisualStudio.QualityTools.Typs.UnitTest.Adapter, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') required to execute this test could not be loaded.  Check that the test adapter is installed properly.  Unable to cast object of type 'Microsoft.VisualStudio.TestTools.Unit.TestAdapter' to type 'Microsoft.VisualStudio.TestTools.TestAdapter.ITestAdapter'.

在VS2013中似乎使用了与VS2015不同的DLL或类或类型,因此当我在较旧的控制器/代理上运行较新的测试时,会出现不匹配而导致失败,但我只是在猜测,找不到此Google时出错.

Which seems like a different DLL or Class or Type is being used in VS2013 than VS2015, so when I run the newer tests on the older controller/agent there is a mismatch that causes failure but I am just guessing and cannot find this error when I Google.

推荐答案

您好,史蒂夫,

基于此

Base on this feedback, we need to use agent for VS 2013 update 5 with TFS 2015. Please try it and check the result.

注意

Starain


这篇关于VS2015Ent-如何配置测试代理和测试控制器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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