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

Running NUnit tests in the CI Pipeline using TFBuild


Traditionally, developers using the NUnit framework had to install the NUnit Test Adapter on the build machines. While this approach worked if you were dealing with a small number of build servers, it quickly became tedious when dealing with large number of build servers. An alternative to installing the NUnit adapter was to inject the NUnit adapter DLLs to the build machines using the custom assembly field available in the build controller properties. While this worked with TFVC-based repositories, there were challenges using this approach for Git-based repositories. This is a classic example of configuration hell when using non-Microsoft testing frameworks.

The new build framework makes running non-Microsoft unit test frameworks completely configuration free. In this recipe, you'll learn how to use the Visual Studio Test task in the build definition to run NUnit tests or generally any non-Microsoft unit testing frameworks.

Getting ready...