Book description
Over 80 hands-on DevOps and ALM-focused recipes for Scrum Teams to enable the Continuous Delivery of high-quality Software... Faster!
About This Book
- Release high quality, reliable software quickly through building, testing, and deployment automation
- Improve the predictability, reliability, and availability of TFS in your organization by scheduling administration and maintenance activities
- Extend, customize, and integrate tools with TFS, enabling your teams to manage their application lifecycles effectively
Who This Book Is For
This book is aimed at software professionals including Developers, Testers, Architects, Configuration Analysts, and Release Managers who want to understand the capabilities of TFS to deliver better quality software faster.
A working setup of TFS 2015 and some familiarity with the concepts of software life cycle management is assumed.
What You Will Learn
- Creating a Team Project with Dashboards, Assigning License, Adding users, and Auditing Access
- Setting up a Git repository in an existing TFVC-based Team Project
- Setting up branch policies and conducting Pull requests with code reviews
- Mapping, assigning and tracking work items shared by multiple teams
- Setting up and customizing Backlogs, Kanban board, Sprint Taskboard, and dashboards
- Creating a Continuous Integration, Continuous Build, and Release Pipeline
- Integrating SonarQube with TFBuild to manage Technical Debt
- Triggering Selenium Web Tests on a Selenium Test Grid using TFBuild
- Using Visual Studio Team Services Cloud load testing capability with new Build framework
- Extending and customizing the capabilities of Team Foundation Server using API and Process Editor
In Detail
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.
Style and approach
This book is a recipe-based guide that uses a problem-solution format to call out inefficiencies in the software development lifecycle and then guides you, step-by-step, on how you can use Team Foundation Server to your advantage in those areas.
Table of contents
-
Microsoft Team Foundation Server 2015 Cookbook
- Table of Contents
- Microsoft Team Foundation Server 2015 Cookbook
- Credits
- About the Author
- Acknowledgments
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. Team Project Setup
- Introduction
- Connecting to TFS using Team Explorer
- Setting up your user profile in TFS
- Creating a Team Project using the Scrum Template
- Assigning a license, adding users, and auditing user access
- Configuring Dashboards in Team Project
- Setting up a welcome page for a Team Project
- Creating and setting up a Team Room
- Renaming a Team Project
- Creating a new Team Project through the command line
- Deleting a Team Project
-
2. Setting Up and Managing Code Repositories
- Introduction
- Creating a Git repository in an existing TFVC Team Project
- Enabling code analysis check-in policy
- Performing a baseless merge between sibling branches in TFVC
- Reparenting a branch in TFVC
- Unlocking files checked out by someone else
- Unshelving a shelveset created in one branch to another branch
- Ignoring file types from check-in using .tfignore and .gitignore
- Conducting code reviews in TFS
- Setting up policies for branches in Git
- Conducting Pull requests in TFS
- Analyzing code churn with TFS analysis services cube
-
3. Planning and Tracking Work
- Introduction
- Selecting the backlog levels displayed on the Team Portal
- Mapping, assigning, and tracking Work Items shared by multiple Teams
- Adding additional columns to the Kanban board
- Customizing cards displayed on the boards
- Setting up the Team's capacity and activity for a sprint
- Querying Work Items by Tags
- Creating charts using Work Item Queries
- Using Service Hooks to integrate with Trello boards
- Deleting Work Items in TFS permanently
- Using Microsoft Feedback Client to provide feedback
-
4. Building Your Application
- Introduction
- Configuring TFBuild Agent, Pool, and Queues
- Setting up a TFBuild Agent using an unattended installation
- Creating a continuous integration build definition in TFBuild
- Pinning a build badge to the welcome page in Team Portal
- Managing build resources using role-based access
- Using the build retention policy to automate build deletion
- Using user capabilities to identify a build agent in a pool
- Version DLLs in build output with build number
- Creating a new build task using the TFBuild Extensibility framework
- Integrating SonarQube with TFBuild to manage technical debt
- Building GitHub code repositories with TFBuild
-
5. Testing Your Application
- Introduction
- Running NUnit tests in the CI Pipeline using TFBuild
- Creating and setting up a Machine Group
- Deploying a test agent through the TFBuild task
- Distributing test execution on a Lab Machine Group
- Triggering Selenium Web Tests on a Selenium Test Grid using TFBuild
- Integrating the Cloud Load Testing Service in TFBuild
- Analyzing test execution results from the Runs view
- Exporting and importing test cases in Excel from TFS
- Copying and cloning test suites and test cases
- Exporting test artifacts and test results from the test hub
- Charting testing status on Dashboards in Team Portal
-
6. Releasing Your Application
- Introduction
- Creating a release definition in Team Web Portal
- Mapping artifacts to a release definition
- Configuring a release definition for a continuous deployment
- Adding and configuring environments in a release definition
- Configuring security for release definitions
- Configuring global and local variables for a release
- Deploying an Azure website using release management
- Deploying the IIS Web Application using release management
- Tracking a release in release management
-
7. Managing Team Foundation Server
- Introduction
- Diagnosing builds in TFS
- Analyzing the TFS database and configuring test retention policies
- Using Activity and Job Monitoring logs to diagnose TFS issues
- Changing update frequency and forcing a rebuild of TFS Warehouse
- Configuring TFS Cache settings
- Managing CodeLens in TFS
- Continuous synchronization with the TFS Proxy server
- Creating a TFS database back up schedule
- Cleaning up unused workspaces and shelvesets in TFS – in progress
-
8. Extending and Customizing Team Foundation Server
- Introduction
- Acquiring TFS object model from the NuGet Gallery
- Using Team Project Picker to connect to TFS programmatically
- Determining the version of TFS using the TFS object model
- Retrieving TFS permissions programmatically using the TFS object model
- Getting the Process Template name for a Team Project programmatically
- Getting build details programmatically using the REST API
- Getting a list of Git repositories programmatically using the REST API
- Getting a Work Item by ID programmatically using the REST API
- Adding a Team field to the Product Backlog Item to an existing Team Project
- Adding multi-item select control in the Work Item form
- Index
Product information
- Title: Microsoft Team Foundation Server 2015 Cookbook
- Author(s):
- Release date: January 2016
- Publisher(s): Packt Publishing
- ISBN: 9781784391058
You might also like
book
Professional Team Foundation Server 2012
A comprehensive guide to using Microsoft Team Foundation Server 2012 Team Foundation Server has become the …
book
Professional Team Foundation Server 2013
Team Foundation Server is now for everyone! Team Foundation Server is an integral part of Microsoft's …
video
Introducing Microsoft Team Foundation Server 2017
Learn Team Foundation Server 2017 will allow you to be the expert. You will learn how …
book
Essentials of Administering Team Foundation Server 2015: Using TFS 2015 to Accelerate Your Software Development
This book covers the critical as well as the less obvious aspects of managing Microsoft Team …