Book Image

Microsoft Team Foundation Server 2015 Cookbook

By : Tarun Arora
Book Image

Microsoft Team Foundation Server 2015 Cookbook

By: Tarun Arora

Overview of this book

Team Foundation Server (TFS) allows you to manage code repositories, build processes, test infrastructure, and deploy labs. TFS supports your team, enabling you to connect, collaborate, and deliver on time. Microsoft's approach to Application Lifecycle Management (ALM) provides a flexible and agile environment that adapts to the needs of your team, removes barriers between roles, and streamlines processes. The book introduces you to creating and setting up team projects for scrum teams. You'll explore various source control repositories, branching, and merging activities, along with a demonstration of how to embed quality into every code check-in. Then, you'll discover agile project planning and management tools. Later, emphasis is given to the testing and release management features of TFS which facilitate the automation of the release pipeline in order to create potentially shippable increments. By the end of the book, you'll have learned to extend and customize TFS plugins to incorporate them into other platforms and enable teams to manage the software lifecycle effectively.
Table of Contents (16 chapters)
Microsoft Team Foundation Server 2015 Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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...