Share via

Testing for Continuous Delivery with Visual Studio 2012

patterns & practices Developer Center

On this page: Download:
Summary | Authors and contributors | Testing-related titles | Ranger titles | Feedback and support

Download PDF

Download code samples

Download Paperback

August 2012


As more software projects adopt a continuous delivery cycle, testing threatens to be the bottleneck in the process. Agile development frequently revisits each part of the source code, but every change requires a re-test of the product. While the skills of the manual tester are vital, purely manual testing can't keep up. Visual Studio 2012 provides many features that remove roadblocks in the testing and debugging process and also help speed up and automate re-testing.

This guide shows you how to:

  • Create and use effective unit tests, load, and performance tests.
  • Record and play back manual tests to reproduce bugs and verify the fixes.
  • Transform manual tests into code to speed up re-testing.
  • Understand how the lab environment works and how it supports a project.
  • Monitor your project in terms of tests passed.
  • Run build-deploy-test workflows on virtual lab environments.
  • Evolve your testing process to satisfy the demands of agile and continuous delivery.

You'll learn how to set up all the tools you need for testing in Visual Studio 2012 and 2010, including Team Foundation Server, the build system, test controllers and agents, SCVMM and Hyper-V. Each chapter is structured so that you can move gradually from entry-level to advanced usage.

Download Guide

Download Book

Order Book

Testing for Continuous Delivery with Visual Studio 2012 is available in paperback from

Download Code

Download Code Sample


Foreword by Sam Guckenheimer


1- The Old Way and the New Way

2- Unit Testing: Testing the Inside

3- Lab Environments

4- Manual System Tests

5- Automating System Tests

6- A Testing Toolbox

7- Testing in the Software Lifecycle

Appendix: Setting up the Infrastructure




Microsoft patterns & practices License

Authors and contributors

This guide was produced by the following individuals:

  • Program and product management: Larry Brader (Microsoft Corporation)
  • Writers: Alan Cameron Wills and Howie Hilliker (Microsoft Corporation)
  • Subject matter experts: Anutthara Bharadwaj and Willy-Peter Schaub (Microsoft Corporation)
  • Development and test: Larry Brader (Microsoft Corporation) and Poornimma Kaliappan (VanceInfo)
  • Edit team: RoAnn Corbisier (Microsoft Corporation) and Nancy Michell (Content Master Ltd.)
  • Cartoons: Paul Carew (Linda Werner & Associates Inc)
  • Book design and technical illustrations: Chris Burns (Linda Werner & Associates Inc.)
  • Release management: Nelly Delgado (Microsoft Corporation) and Richard Burte (, Inc.)

We want to thank the customers, partners, and community members who have patiently reviewed our early content and drafts. Among them, we want to highlight the exceptional contributions of:

Very special thanks for their continued support to:

  • Katrina Lyon-Smith, Microsoft Corporation
  • Willy-Peter Schaub, Microsoft Corporation
  • Anutthara Bharadwaj, Microsoft Corporation
  • Muthukumaran Kasiviswanathan, Microsoft Corporation

Testing-related titles

Ranger titles

Feedback and support

Questions? Comments? Suggestions? Visit the patterns & practices Test Infrastructure Guidance community site. This content is a guidance offering, designed to be reused, customized, and extended. It is not a Microsoft product. Code-based guidance is shipped "as is" and without warranties. Customers can obtain support through Microsoft Support Services for a fee, but the code is considered user-written by Microsoft support staff.

Next Topic | Home | Community

Last built: Aug 6, 2012