scrum in the enterprise with microsoft visual studio 2010

54
Scrum in the Enterprise with Microsoft Visual Studio 2010. Simon Bennett Managing Consultant, EMC Consulting Certified Scrum Trainer / Practitioner FT09

Upload: alessa

Post on 22-Feb-2016

52 views

Category:

Documents


0 download

DESCRIPTION

FT09. Scrum in the Enterprise with Microsoft Visual Studio 2010. Simon Bennett Managing Consultant, EMC Consulting Certified Scrum Trainer / Practitioner. Agenda. What is Scrum? What do we mean by “Enterprise Scrum”? Applying Scrum with VS 2010 Multi Team Configuration (Demo) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Scrum in the Enterprise with Microsoft Visual Studio 2010

Scrum in the Enterprise with Microsoft Visual Studio 2010.Simon BennettManaging Consultant, EMC ConsultingCertified Scrum Trainer / Practitioner

FT09

Page 2: Scrum in the Enterprise with Microsoft Visual Studio 2010

Agenda> What is Scrum?> What do we mean by “Enterprise

Scrum”?> Applying Scrum with VS 2010> Multi Team Configuration (Demo)> Enterprise Bug Modelling> Process Template anatomy> Team Foundation Server extensibility

Page 3: Scrum in the Enterprise with Microsoft Visual Studio 2010

What is Scrum?> Scrum is a Project Delivery Framework> Both Iterative & Incremental> Based on the Agile Manifesto

> Working Software is the measure of progress

> Harnesses change for competitive advantage

> Multiple “Inspect & Adapt” points> Promotes close customer collaboration

Page 4: Scrum in the Enterprise with Microsoft Visual Studio 2010
Page 5: Scrum in the Enterprise with Microsoft Visual Studio 2010

Scrum was designed for small teams> 7 +/- 2 people per team> Single Product Owner> Scrum scales easily up to about 3

teams> Most standard process templates can

support projects of this size> Scrum for Team System 2.2 (TFS

2008) is the most widely used template in this market

Page 6: Scrum in the Enterprise with Microsoft Visual Studio 2010

Enterprise Scrum> Larger Variation than in single team

Scrum> Need to balance consistency &

adaptability> By supporting varied project

configurations without template modifications

> Multiple indicators:> More than 30 developers on a single

project> Multiple PO’s / Work Streams / BU’s> Inter woven cadence

Page 7: Scrum in the Enterprise with Microsoft Visual Studio 2010

Supporting Enterprise Scrum in 2010> Acceptance Test Driven Development> Hundreds of Teams, dynamically

adjustable> Working in different cadences> Starting on different days> Or in different time zones

> Flexible Bug Modelling> Integrated with Test & Lab Manager

> All integrated into one great ALM solution

Page 8: Scrum in the Enterprise with Microsoft Visual Studio 2010

Enterprise Friendly Deployment1. Install – drops the bits2. Deploy – pushes the template to the

Team Project Collections of your choice

3. Create – your empty project4. Configure – set up the standard

template to fit the project & Team Environment

Page 9: Scrum in the Enterprise with Microsoft Visual Studio 2010

Template Deployment Tool

Page 10: Scrum in the Enterprise with Microsoft Visual Studio 2010

TFS 2008

> We could link WIT’s> But in a “flat” structure> Relationships were

implicit

Page 11: Scrum in the Enterprise with Microsoft Visual Studio 2010

Forget Flatland

Visual Studio 2010

Page 12: Scrum in the Enterprise with Microsoft Visual Studio 2010

Work Item Hierarchy ExampleProduct Backlog

Item

Impediment

Acceptance Test

Sprint Backlog

TaskImplemented By

Tested By

Impeded By

Page 13: Scrum in the Enterprise with Microsoft Visual Studio 2010

Relationships are bi-directionalProduct Backlog

Item

Impediment

Acceptance Test

Sprint Backlog

TaskImplements

Tests

Impedes

Page 14: Scrum in the Enterprise with Microsoft Visual Studio 2010

Adding a Linked Work Item> You must select the correct Link Type

and Work Item Type when adding a linked item.

Page 15: Scrum in the Enterprise with Microsoft Visual Studio 2010

So what can you do with that?

Page 16: Scrum in the Enterprise with Microsoft Visual Studio 2010

Support for ATDD

Page 17: Scrum in the Enterprise with Microsoft Visual Studio 2010

Inferring Ready

Page 18: Scrum in the Enterprise with Microsoft Visual Studio 2010

Planning Scope> Builds on the Iteration Path> Allows for complex multi-team

projects> Supported with three Work Item Types> Uses an Event Service to collect

metrics in real time to support Release Planning

Page 19: Scrum in the Enterprise with Microsoft Visual Studio 2010

Planning Scope Iteration Path

Page 20: Scrum in the Enterprise with Microsoft Visual Studio 2010

Planning Scope Work Items

Release

Sprint

Team

ImplementedBy

ImplementedBy

Implements

Implements

Page 21: Scrum in the Enterprise with Microsoft Visual Studio 2010

Looks complex, but it can easily handleThis

Or even this

Page 22: Scrum in the Enterprise with Microsoft Visual Studio 2010

Supported by all the standard Reports

Page 23: Scrum in the Enterprise with Microsoft Visual Studio 2010

Teams Starting on Different Days

Page 24: Scrum in the Enterprise with Microsoft Visual Studio 2010

That looks hard & complex!> It is. (Well complex anyway)> But real life enterprise projects are

complex> Thankfully there is help from the

ScrumMaster’s workbench> Easier to create a project now than in 2.2

> 3.0 Projects start empty

Page 25: Scrum in the Enterprise with Microsoft Visual Studio 2010

Project Configuration

DEMO

Page 26: Scrum in the Enterprise with Microsoft Visual Studio 2010

Bugs

Page 27: Scrum in the Enterprise with Microsoft Visual Studio 2010

ATDD in practiceProductBacklogItem

BugReportFailed By

Tested ByAcceptanceTest

AcceptanceTestTested By

Page 28: Scrum in the Enterprise with Microsoft Visual Studio 2010

After a PBI is “Done” Bugs are prioritised by the Product Owner not QA Backlog Item

Bug

Backlog Item

Backlog Item

Bug

Bug

Backlog Item

Backlog Item

Bug

Highest Priority

Lower Priority

Bugs are a normal part of the planning process, and are prioritised just like PBI’s.

We need these done in 30 days!

These aren’tcritical, but itwould be nice.

This bug isn’thurtinganybody.

Page 29: Scrum in the Enterprise with Microsoft Visual Studio 2010

The implication is...> That a lot of the time, developers

can’t “fix” a bug> In many organisations, a bug only

specifies an opinion on pre-existing incorrect behaviour

> It follows that the PO must inspect and modify all bugs to ensure that they describe not just the problem, but also the desired behaviour.

Page 30: Scrum in the Enterprise with Microsoft Visual Studio 2010

Scheduling Bug Fixes

ProductBacklogItem

BugReportFailsAcceptance

TestScheduled

Description of an instance of Negative Application Behaviour

Test for a class of desirable behaviour

Container for Scheduling + Statement of Value to the Business

Page 31: Scrum in the Enterprise with Microsoft Visual Studio 2010

Building an incremental regression suite> The Product Backlog Item Lifecycle

Not Started

In Progress Done

BrokenDeprecated

Page 32: Scrum in the Enterprise with Microsoft Visual Studio 2010

In Summary> Enterprise Scrum Solution> Multiple PO / Workstream support> Supports Vast Numbers of teams

> Starting on different days> Working to different cadences> All supported by standard reports

> Support for ATDD & Regression Testing> “Always Accurate” Historical Backlog

Page 33: Scrum in the Enterprise with Microsoft Visual Studio 2010

Process Customization with Microsoft Visual Studio 2010Stuart Prestonstuartpreston.net/blog

FT09

Page 34: Scrum in the Enterprise with Microsoft Visual Studio 2010

Agenda> Process Template anatomy> Implementing Link Hierarchy> Team Foundation Server extensibility> Summary

Page 35: Scrum in the Enterprise with Microsoft Visual Studio 2010

Microsoft Visual Studio Team Foundation Server 2008

Work Item Tracking

Version Control Reports Sharepoint/

WSS

Process Template Anatomy

Page 36: Scrum in the Enterprise with Microsoft Visual Studio 2010

Microsoft Visual Studio Team Foundation Server 2010

Process Template Anatomy

BuildHierarchical Link Types

Lab Manageme

nt

Test Manageme

nt

Work Item Tracking

Version Control Reports Sharepoint/

WSS

Page 37: Scrum in the Enterprise with Microsoft Visual Studio 2010

Microsoft Visual Studio Team Foundation Server 2010

Process Template Anatomy

Hierarchical Link Types

Work Item Tracking

Page 38: Scrum in the Enterprise with Microsoft Visual Studio 2010

Inside The Template: Work Item Tracking

LinkTypes Queries TypeDefinitions

Page 39: Scrum in the Enterprise with Microsoft Visual Studio 2010

ImplementedBy.xml

<?xml version="1.0" encoding="utf-8"?><LinkTypes> <LinkType ReferenceName="Scrum.ImplementedBy"

Topology="Tree" ForwardName="Implemented By" ReverseName="Implements“ /></LinkTypes>

Product Backlog

Item Sprint Backlog

Task

Implements

Implemented By

Tree = Parent/Child relationship

Page 40: Scrum in the Enterprise with Microsoft Visual Studio 2010

ImplementedBy.xml

<?xml version="1.0" encoding="utf-8"?><LinkTypes> <LinkType ReferenceName="Scrum.ImplementedBy"

Topology="Tree" ForwardName="Implemented By" ReverseName="Implements“ /></LinkTypes>

??Implements

Implemented By

Page 41: Scrum in the Enterprise with Microsoft Visual Studio 2010

Product Backlog Item: Link Tabs

Page 42: Scrum in the Enterprise with Microsoft Visual Studio 2010

Product Backlog Item: Link Tabs

Page 43: Scrum in the Enterprise with Microsoft Visual Studio 2010

How to only show specific links<Tab Label="Implements">[...] <WorkItemLinkFilters FilterType="include"> <Filter LinkType="Scrum.ImplementedBy" FilterOn="reversename" /> </WorkItemLinkFilters>

<WorkItemTypeFilters FilterType="include"> <Filter WorkItemType="Product Backlog Item" /> </WorkItemTypeFilters>

<ExternalLinkFilters FilterType="excludeAll"/>[...]

Page 44: Scrum in the Enterprise with Microsoft Visual Studio 2010

Where do these numbers come from?

Page 45: Scrum in the Enterprise with Microsoft Visual Studio 2010

Team Foundation Server extensibility> TFS notifications can be Plain Text

email, HTML email or a SOAP message.

> Scrum for Team System installs an ASP.NET web service to handle the message generated when a work item is saved.

Page 46: Scrum in the Enterprise with Microsoft Visual Studio 2010

Team Foundation Server notifications

demo

Page 47: Scrum in the Enterprise with Microsoft Visual Studio 2010

What did we cover?> Used the Alerts Editor to create a

subscription> Set the endpoint to be a ASP.NET web

service with a Notify web method> “Do something” with the inbound

message> Text message when a Work Item is saved

with a certain state.> Send a tweet through the Twitter API

when your build completes.

Page 48: Scrum in the Enterprise with Microsoft Visual Studio 2010

Scrum for Team System calculated fields> Rules stored in customizable XML files> Default rules allow cover common

scenarios> Set “parent” Product Backlog Item state

to “Done” when all Acceptance Tests pass.

> Sum the work remaining for a Product Backlog Item based on linked Sprint Backlog Items.

> Divide two fields on the same form to calculate the Return on Investment field.

> Modify the XML rules yourself and even write a Custom Processor. See http://consultingblogs.emc.com/crispinparker

Page 49: Scrum in the Enterprise with Microsoft Visual Studio 2010

In Conclusion> With Scrum for Team System 3.0. You

can easily manage multi team Enterprise Scrum projects using Visual Studio 2010

> Integrates with Test & Lab Manager> A richer experience was created by:

> Leveraging the TFS notification mechanism

> Customising Link Types> User Centric design in Team Explorer

elements

Page 50: Scrum in the Enterprise with Microsoft Visual Studio 2010

References> Scrum for Team System

www.scrumforteamsystem.com> Simon’s blog

consultingblogs.emc.com/simonbennett

> Stuart’s blogstuartpreston.net/blog

> Microsoft Visual Studio 2010 Beta 2 websitemsdn.microsoft.com/en-us/vstudio/dd582936.aspx

Page 51: Scrum in the Enterprise with Microsoft Visual Studio 2010

YOUR FEEDBACK IS IMPORTANT TO US! Please fill out session evaluation

forms online atMicrosoftPDC.com

Page 52: Scrum in the Enterprise with Microsoft Visual Studio 2010

Learn More On Channel 9> Expand your PDC experience through

Channel 9

> Explore videos, hands-on labs, sample code and demos through the new Channel 9 training courses

channel9.msdn.com/learnBuilt by Developers for Developers….

Page 53: Scrum in the Enterprise with Microsoft Visual Studio 2010

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

Page 54: Scrum in the Enterprise with Microsoft Visual Studio 2010