Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

37

Transcript of Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Page 1: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.
Page 2: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Managing Releases Between Your Development and QA Teams with Microsoft Visual Studio Team System 2008

Chris MenegayVP of ConsultingNotion Solutions, Inc.DTL319

Page 3: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Agenda

Review the problemDefine the goalsOverview of a possible solution

Page 4: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

The ProblemThe development and test teams have built a wall

Development work happens on one side of the wallTesting happens on the otherBuilds and test results are passed back and forth, but not in a collaborative fashion

Page 5: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Development Perspective

Works on my machine!What build is being tested?How do I repro this?I already fixed this bug!The testers are clueless twits that don’t even know what good software is!

Page 6: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

This is still broken? They said they fixed it!Do we have a new build?What’s supposedly fixed in this new build?Is the new build deployed to our QA environment?The developers are clueless twits that don’t even know what good software is!

Test Perspective

Page 7: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Typical Workflow

Version Control

Page 8: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Typical Workflow

Version Control

Build Process

Page 9: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Typical Workflow

Test Environment

Version Control

Build Process

Page 10: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Typical Workflow

Test Environment

Version Control

Build Process

Page 11: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Typical Workflow

Test Environment

Defect Tracking SystemTitle

DescriptionBuild version?Repro steps?What test case?What was the test environment like?

Page 12: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Breaking the Barrier

Common bug trackingConsistent and predictable build deploymentShared test casesReproducible test environment

Page 13: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Breaking the Barrier

Common bug trackingConsistent and predictable build deploymentShared test cases

TFS Build

Test cases and bugs

Code and bugs

Page 14: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

DevelopmentCode

QACode

ProductionCode

Page 15: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Development

QA

Production

1.0 2.0

Page 16: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Branching, Building and Deploying in TFSChris MenegayVP of ConsultingNotion Solutions, Inc.

demo

Page 17: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Thing to Consider

Builds can do ALMOST anything!Review MSDeploy Creating installersSMS/System CenterUpgrades versus new installsConfig files

Page 18: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Build Considerations

Team Foundation Server

Page 19: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Build Considerations

Team Foundation Server Build

Process

Page 20: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Build Considerations

VM Lab

Team Foundation Server Build

Process

Page 21: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Build Considerations

VM Lab

Team Foundation Server Build

Process

Page 22: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Build Considerations

VM Lab

Team Foundation Server Build

Process

Page 23: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Test Considerations

VM Lab

Page 24: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Test Considerations

VM Lab

Page 25: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

“Repro” Considerations

VM Lab

https://vlab.skytap.com/configurations/22528

Page 26: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Testing with a VM LabChris MenegayVP of ConsultingNotion Solutions, Inc.

demo

Page 27: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Other Benefits

VM Labs can be used for:Demos for customersMaintaining snapshots of old versionsProduction hot-fixes Tech writer access for screenshotsTesting CI builds using GUI automationLoad testing

Page 28: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Circling Back

Creating installersUpgrades versus new installsConfig files

Page 29: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Installers

Setup and Deployment projectsNot MSBuild compatible

InstallShieldWiseWIX!

Page 30: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Upgrades

Blow away the bits!Upgrade the database

Look at Visual Studio Team System 2008 Database Edition

Creates upgrade scripts for youCan be integrated into Team BuildBe sure to use GDR or GDR2!

Page 31: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Config Files

Different for Dev/QA/ProdSome options:

3 configs in one branch, let build pick the right oneDifferent configs - one in each branch

Page 32: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

SummaryCan’t we all just get along???

Page 33: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

www.microsoft.com/teched

Sessions On-Demand & Community

http://microsoft.com/technet

Resources for IT Professionals

http://microsoft.com/msdn

Resources for Developers

www.microsoft.com/learningMicrosoft Certification and Training Resources

www.microsoft.com/learning

Microsoft Certification & Training Resources

Resources

Page 34: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Track Resources

Visit the DPR TLC for a chance to win a copy of Visual Studio Team Suite. Daily drawing occurs every day in the TLC at 4:15pm. Stop by for a raffle tickethttp://www.microsoft.com/visualstudio http://www.microsoft.com/visualstudio/en-us/products/teamsystem/default.mspxPlease visit us in the TLC blue area

Page 35: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

Complete an evaluation on CommNet and enter to win!

Page 36: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

question & answer

Page 37: Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,

IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.