Deploying a test agent through the TFBuild task
In previous versions of TFS, the test controller and agent used to ship as separate installers. While the installers supported unattended installation, the configuration needed manual intervention. This limited the ability to scale out the test agents on demand. In TFS 2015, the test controller and agent do not ship as separate installers; instead, the capability offered by the test agent has been distilled into one build task. In this recipe, you'll learn how to deploy a test agent on multiple machines in a Machine Group.
Getting ready
Scenario: The FabrikamTFVC Team has a dependency on the cucumber framework, since cucumber conflicts with the existing framework on the build agent, it cannot be installed on the build agent. The FabrikamTFVC Team instead wants the test agent to be deployed on the QA-App1.Fabrikam.lab
server. This server is already part of the Fabrikam-QA Machine Group:
In this recipe, we'll be using the Fabrikam-QA Machine Group...