简体   繁体   English

TFS 2015 在同一台机器上运行 vNext 构建和测试

[英]TFS 2015 running vNext build and test on same machine

Are there any issues with running a vNext build agent on the same machine that is running Functional Tests?在运行功能测试的同一台机器上运行 vNext 构建代理是否有任何问题? My plan is to have an agent pool that consists primarily of test machines where each build agent has a one-to-one relationship to running functional tests on each respective machine.我的计划是拥有一个主要由测试机器组成的代理池,其中每个构建代理与在每台机器上运行功能测试具有一对一的关系。

Yes, you have the ability to run some Unit Tests both on a machine different from that one is running the build and on the same machine.是的,您可以在与运行构建的机器不同的机器上和同一台机器上运行一些单元测试。

To select build agent in a pool which include multiple agents: select 在包含多个代理的池中构建代理:

You can add a User Capability to that specific build agent then in the build definition you put that capability as a demand (General tab)您可以将用户功能添加到该特定构建代理,然后在构建定义中将该功能作为需求(常规选项卡)

How to specify a build agent in vNext build 如何在 vNext 构建中指定构建代理

About how to configure build pipeline and deploy test agent, you could refer below tutorials:关于如何配置构建管道和部署测试代理,您可以参考以下教程:

Hope this helps.希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM