如何在Build tools环境中设置VS Test Agent。 [英] How can I set up VS Test Agent in Build tools enviroment.

查看:39
本文介绍了如何在Build tools环境中设置VS Test Agent。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的TFS服务器是2015年。我们在CI机器中仅使用Build Tools 2017环境来编译代码。编译后有一组C#单元测试运行。所以我试图配置" VS
Test Agent 2015
"在没有安装完整Visual Studio的机器中。现在它给我错误"包含Visual Studio Test Runner程序集的目录无效"。这有什么不对?

Our TFS server is 2015. We are using Build Tools 2017 only environment in the CI machine to compile the code. There are set of C# unit test to run after the compilation. So I was trying to configure the "VS Test Agent 2015" in the machine without installing the full Visual Studio. Now its giving me the error "The directory containing the assemblies for the Visual Studio Test Runner is not valid". what is wrong here?

推荐答案

嗨Nayana_Adassuriya,

Hi Nayana_Adassuriya,

请尝试使用""Visual Studio测试代理部署"任务,然后添加"运行
功能测试
"在它下面。

Please try to use "Visual Studio Test Agent Deployment" task, then add "Run Functional Tests" under it.

像这样:

如果您无法成功部署测试代理,请在此处共享您的构建日志。

If you could not deploy test agent successfully, please share your build logs here.

最好的问候  

Best Regards  


这篇关于如何在Build tools环境中设置VS Test Agent。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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