Scrum Training Series, Part 3: The Sprint Planning Meeting. Michael James January 20, :13 AM

Similar documents
Scrum Training Series Part 2: The Backlog Refinement Meeting. Michael James January 19, :24 AM

Introduction to Scrum

An Example Checklist for ScrumMasters

A Glossary of Scrum / Agile Terms

D25-2. Agile and Scrum Introduction

The Agile Manifesto is based on 12 principles:

Scrum includes a social agreement to be empirical as a Team. What do you think an empirical agreement is?

Transitioning Your Software Process To Agile Jeffery Payne Chief Executive Officer Coveros, Inc.

ScrumMaster or Armchair Psychologist Scrum Fundamentals Webinar Q&A March 9, 2016

Introduction to Agile and Scrum

Bridging the Gap Between Acceptance Criteria and Definition of Done

EXIN Agile Scrum Foundation. Sample Exam

Waterfall to Agile. DFI Case Study By Nick Van, PMP

Agile Notetaker & Scrum Reference. Designed by Axosoft, the creators of OnTime the #1 selling scrum software.

Scrum In 10 Slides. Inspect & Adapt

References: Hi, License: Feel free to share these questions with anyone, but please do not modify them or remove this message. Enjoy the questions!

Program & Portfolio! Management using! Kanban! Copyright 2013 Davisbase Consulting. Limited Display License Provided to ASPE

This handbook is meant to be a quick-starter guide to Agile Project Management. It is meant for the following people:

CSPO Learning Objectives Preamble. Scrum Basics

Vision created by the team. Initial Business Case created. Cross functional resource meeting held. Agile alignment meeting

EXIN Agile Scrum Foundation

Agile and lean methods for managing application development process

Scrum. SE Presentation. Anurag Dodeja Spring 2010

Certified ScrumMaster (CSM) Content Outline and Learning Objectives January 2012

What is Scrum? Scrum Roles. A lean approach to software development. A simple framework. A time-tested process

Mastering the Iteration: An Agile White Paper

Certified ScrumMaster (CSM) Content Outline and Learning Objectives January 2012

Agile Project Management and the Real World. Emily Lynema DLF Fall 2010 November 1, 2010

Agile Development Overview

Introduction to Agile

Certified Scrum Product Owner

10 ways to screw up with Scrum and XP Welcome! 1.Sit near the front please! 2.Are you using Scrum or XP? If so grab 3 colored ballots from the stage.

The Basics of Scrum An introduction to the framework

How NOT to Do Scrum. Patterns and Anti-patterns. Revised July First presented at New York City Scrum User Group June 17, 2010

Agile and lean methods for managing application development process

SECC Agile Foundation Certificate Examination Handbook

Agile Software Development with Scrum. Jeff Sutherland Gabrielle Benefield

MTAT Software Engineering

Iteration Planning. also called Iteration Kickoff

ACP Exam Prep Plus Desk Reference including the Project Management Agile Body of Knowledge TM (PMABOK TM )

FREE ONLINE EDITION. (non-printable free online version) Brought to you courtesy of Sprint-IT &

There are 3 main activities during each Scrum sprint: A planning meeting where: the Product Owner prioritizes user stories in the product backlog

Introduction to User Story Mapping. July 2015 COPYRIGHT 2015 AGILITY SOFTWARE 1

Lean Software Development and Kanban

Global Business Services, GBS. Scrum and Kanban. Processer & IT nord seminar 5v3. Gitte Klitgaard Hansen, IBM

Software Development Methodologies

Managing Agile Projects in TestTrack GUIDE

Agile Projects 7. Agile Project Management 21

Scrum. Speaker: Dan Mezick URL: NewTechUSA.com. Copyright 2002: All rights reserved

How To Be Successful At An Agile Software Engineering

Agile Software Development

Agile support with Kanban some tips and tricks By Tomas Björkholm

Agile Information Management Development

SESSION 303 Wednesday, March 25, 3:00 PM - 4:00 PM Track: Support Center Optimization

Agile Software Development. Stefan Balbo / Patrick Dolemieux

Sometimes: 16 % Often: 13 % Always: 7 %

From Agile by Design. Full book available for purchase here.

Lesson 2: How to Give Compliments to Tutees

Automated Acceptance Testing of High Capacity Network Gateway

Agile Systems Engineering: What is it and What Have We Learned?

Topics covered. Agile methods Plan-driven and agile development Extreme programming Agile project management Scaling agile methods

Scrum vs. Kanban vs. Scrumban

What is meant by the term, Lean Software Development? November 2014

Agile Scrum Workshop

SmartBear Software Pragmatic Agile Development (PAD) Conceptual Framework

Lean QA: The Agile Way. Chris Lawson, Quality Manager

Ten tips for making your Agile adoption successful

An Introduction to Agile Performance Management

Scenarios for Pair Coaching Exercises

Nexus Guide. The Definitive Guide to Nexus: The exoskeleton of scaled Scrum development. Developed and sustained by Ken Schwaber and Scrum.

Scrum Is Not Just for Software

Agile Software Development

Agile Software Project Management with Scrum

T14 "TIMELINES, ARTIFACTS AND OWNERS IN AGILE PROJECTS" Hubert Smits Rally Software Development BIO PRESENTATION 6/21/2007 1:30:00 PM

Agile extreme Development & Project Management Strategy Mentored/Component-based Workshop Series

SCRUM 1. Upon what type of process control is Scrum based? a. Empirical b. Hybrid c. Defined d. Complex

Nova Software Quality Assurance Process

Scaling Agile with the Lessons of Lean Product Development Flow Copyright 2012 Net Objectives, Inc. All Rights Reserved

How To Plan An Agile Project

Testing in Scrum Projects

LEAN AGILE POCKET GUIDE

Building a Better Backlog

Agile Testing with Acceptance Test Driven Development and Behavior Driven Design. Two Day Course Overview

Scrum Guidelines. v W W W. S C R U M D E S K. C O M

TSG Quick Reference Guide to Agile Development & Testing Enabling Successful Business Outcomes

Adapting Agile Software Development to Regulated Industry. Paul Buckley Section 706 Section Event June 16, 2015

Selling Agile to the CFO: A Guide for Development Teams

Executive Guide to SAFe 24 July An Executive s Guide to the Scaled Agile Framework.

Software Engineering I (02161)

Secrets of a Scrum Master: Agile Practices for the Service Desk

Scrum in a Large Project Theory and Practice

agenda AGILE AT SCALE

Preparation Guide. EXIN Agile Scrum Foundation

Deep Agile Blending Scrum and Extreme Programming. Jeff Sutherland Ron Jeffries

Agile So)ware Development

Agile In a Nutshell. Note - all images removed to fit 2MB limit Actual presentation has much more content. Jonathan Rasmusson

Agile Testing. What Students Learn

*NO PING PONG TABLE REQUIRED the one simple secret that made 96% of our developers love their jobs

Agile Software Development in the Large

Scrum, User Stories, and More! CSCI 5828: Foundations of Software Engineering Lecture 22 11/06/2014

Transcription:

Scrum Training Series, Part 3: The Sprint Planning Meeting by Michael James mj4scrum@gmail.com January 20, 2013 12:13 AM Copyright (C) 2011 All Rights Reserved

1 INT. CLASSROOM NARRATOR Welcome to part three of CollabNet s Scrum Training Series: The Sprint Planning Meeting. I m Michael James. We see the Scrum Flow diagram. NARRATOR (CONT D) As you learned in the part two, our team has already conducted a Backlog Refinement Meeting. Checkmark appears on the Backlog Refinement Meeting (of the Scrum Flow diagram). NARRATOR (CONT D) Now we ll watch them plan an actual Sprint. I ll quiz you during the scene. Visual emphasis on the Sprint Planning Meeting box (of the Scrum Flow diagram). As viewers, we are now standing outside the team room door. NARRATOR (CONT D) (whispering) Let s sneak into the team room now. This is a serious meeting, so keep quiet. INT. CONFERENCE ROOM - 9:00 AM We hear kids cheering sound effect. PRODUCT OWNER, TEAM, and appear in a rough circle. They face a Product Backlog, labeled Product Backlog and an empty taskboard, labeled Sprint Backlog. (addressing Product Owner and Team) Hello. As your ScrumMaster, I ll be facilitating our Sprint Planning Meeting. During this meeting the Product Owner

2 We see visual emphasis on the Product Owner. He could also smile now, if designers think it s a good idea. (CONT D) and development team Visual emphasis switches to the development team, who might also smile for the audience. (CONT D) will agree to Sprint Goals, and negotiate which items from the Product Backlog Visual emphasis on the Product Backlog. The Product Backlog shows more detail for items at the top. The contents of the Product Backlog are now: View Grades, current semester - As a student, I can see my grades online so that I don t have to wait until I get to school to know whether I m passing. - Acceptance criteria: Columns align neatly on FingerFly 4.1 and jphone. - Effort: Small Update Grades, current semester - As a teacher, I can update grades online so I don t depend on administrators to do it for me. - Effort: Medium View Grades, previous semesters - As a student, I can see my old grades online because I lost my report card. - Effort: Small Attendance GPA - Effort: Medium - Effort: Small

3 Report Cards - Effort: Extra Large Event Calendar Alumni Archives Scholarship Awards (CONT D) will be committed to the Sprint Backlog. Visual emphasis on the Sprint Backlog, which is still an empty taskboard. (CONT D) We have a four hour timebox We see the timebox. (CONT D) to plan a two-week Sprint. Any questions? We see the Sprint calendar. We see the whole room with everything labeled again. No one asks any questions. Question: What s the difference between the Product Backlog and the Sprint Backlog? Wrong answer: There is no difference. Wrong answer: The Product Backlog contains features, while the Sprint Backlog contains bugs. Right answer: The Product Backlog contains everything we might ever work on, while the Sprint Backlog contains just the things we ll work on during one Sprint. END OF QUIZ

4 (CONT D) Also during this meeting, the team will come up with an initial list of tasks Visual emphasis on the empty tasks not started column of the taskboard. (CONT D) necessary to complete the committed PBIs. Visual emphasis on the Committed PBIs column of the taskboard. Question: Should the team expect to know all the tasks necessary to complete the committed PBIs during the Sprint Planning Meeting? Right answer: No. According to Agile Project Management with Scrum (Schwaber 2004), only 60% of the tasks are likely to be identified during the Sprint Planning Meeting. Other tasks, such as unanticipated dependencies, will be discovered during Sprint Execution. Wrong answer: Yes. The most important thing is to make sure everyone is busy every hour of the entire Sprint. (CONT D) In the original Scrum books, this is a two-part meeting. Sprint Planning Part 1 is for committing to PBIs and Sprint Planning Part 2 is for coming up with tasks. This is important for multiteam Scrum. CARLA (CHEF) Since we re only one team, and the Product Owner is available the whole meeting, we can mix up the two parts.

5 (to Product Owner) Product Owner, is the Product Backlog prioritized the way you want it? PRODUCT OWNER Well, mostly. But I just realized that GPA is more important than Attendance. Product Owner swaps the Report Cards and Attendance PBIs, so that Report Cards is now on top. PRODUCT OWNER (CONT D) That s more like it. Fortunately we got the Product Backlog into good shape during the last Product Backlog Refinement Meeting. PETER (PILOT) How long is the Sprint we re planning? Question: What is the longest allowable iteration, or Sprint, in Scrum? Correct answer: 30 days, or one calendar month. Wrong answer: Six weeks. Wrong answer: It depends how much work was committed to the Sprint. CARLA We do two-week Sprints on this team. PETER (looking shocked) Two weeks? So we ll do the testing in another Sprint?

6 Question: In Scrum, is it acceptable to postpone testing until another Sprint? Wrong answer: Yes, sometimes it s too hard to code and test in one Sprint. Correct answer: No. In Scrum, teams attempt to build a potentially shippable product increment every Sprint. Scrum teams attempt to build a potentially shippable product increment every Sprint. This requires every Sprint to have a mix of analysis, design, implementation, testing, integration, and even deployment. PETER (still shocked) How will we get all that done in two weeks? CARLA During Backlog Refinement, we divided the original epics into smaller user stories, representing thin vertical slices. We ll still have to work together during the Sprint more than a traditional team. That s why we got you a team room. Also remember it s my job to prevent other people from interrupting you with unrelated work. PRODUCT OWNER If anyone asks you to do anything unrelated to our Sprint Goals, send them to me so we can add it to the Product Backlog. I won t interrupt your Sprint unless it s an emergency.

7 QUIZ - MULTIPLE CORRECT Question: How can one Scrum team build a potentially shippable product increment within one Sprint? Correct Answer: By agreeing to a smaller amount of feature scope at the Sprint Planning Meeting, allowing more time for integration, testing, and fixing during each Sprint. Correct Answer: By using modern software engineering approaches such as test-driven development (TDD), continuous design, continuous integration, merciless refactoring. Correct Answer: By improved collaboration techniques: pair programming, working in a team room, and eliminating over the wall hand offs. Correct Answer: By full-time allocation to one team, focussing only one one set of Sprint Goals. Correct Answer: By checking code in multiple times per day, and reducing or eliminating branches in the version control system. Correct Answer: By organizing teams around features rather than architectural components. Incorrect Answer: They cannot do it. It s too difficult to code and test in one Sprint. We hear a clock ticking (like the crocodile in Peter Pan). Question: A 30-day Sprint uses a 1-day timebox for the Sprint Planning Meeting. For a two-week Sprint, how long should the Sprint Planning Meeting be? Incorrect Answer: 1 day. Incorrect Answer: 15 minutes. Correct Answer: 4 hours.

8 Incorrect Answer: 1 hour. ScrumMaster points at the timekeeping device. Don t forget about the timebox, guys. You have four hours to plan a two-week Sprint. PETER (to Product Owner) What are the goals for this Sprint? PRODUCT OWNER (to Peter) This Sprint I d be happy to see some rudimentary capabilities with grading. We see the Product Backlog again, next to the empty Sprint Backlog. ANDY pulls the View Grades, current semester PBI from the Product Backlog to the Sprint Backlog. ANDY This is Product Owner s top priority item. Do the rest of you think we could do this in our two-week Sprint? PRODUCT OWNER (reads text of the item, including the acceptance criteria) PETER What is our definition of done? QUIZ - MULTIPLE CORRECT Question: To avoid technical debt, what should the team write down in their definition of done? Correct Answer: All previous regression tests pass.

9 Correct Answer: Regression tests for new functionality run automatically with every build. Correct Answer: Code has been written by pairs, or at least reviewed by other team members. Incorrect Answer: Nothing. It is not helpful to write down important agreements. Correct Answer: Duplicate code has been removed, through refactoring. Correct Answer: Messy and poorly designed code has been cleaned up, through refactoring. Correct Answer: Manual, exploratory testing has been conducted. Correct Answer: Checkout and build are fully reproducible, typically with one or two commands. writes the definition of done on the wall, DONE: properly tested, refactored, potentially shippable PETER I think I get it. We re building a product increment which could be shipped if the Product Owner decided it has enough features. PRODUCT OWNER I can live with something simple that works properly. The complexity can be folded in later. TIM Does everyone agree the View Grades, current semester PBI will require some testing tasks?

10 Question: Do you agree the PBI will need some testing tasks? Correct Answer: Yes. If the team learns to use Test Driven Development (TDD), some of this will be handled implicitly and repeatably. Manual exploratory testing is also important. Wrong Answer: No. Testing should be done at the end of the project. There s always enough time at the end of the project. Tasks are represented by smaller Post-It notes. Developer #1 sticks up a task labeled test in the Tasks Not Started Column for the View Grades, current semester PBI. ANDY Also we have to decide how to access the grades database. Developer #2 sticks up a task labeled Decide how to access database. [NOTE: Each time a different developer than the one who speaks adds the task.] CARLA It will take a little design work to lay out the page. Developer #3 sticks up a task labeled Page layout. PETER What about the code? Developer #1 sticks up a task labeled Write code using Test Driven Development (TDD) and pair programming. PETER Our Test Driven Development (TDD) skills aren t that good yet. This will take a bit longer than our old way of working. Yes, initially it will feel like going slower. If you commit as a team to use Agile engineering practices

11 consistently, you ll eventually be faster from a business perspective. Using craftsmanship to build innovative products is not about how fast you type code. (CONT D) What other tasks are missing to get this into potentially shippable state? Developers swarm on the taskboard, adding tasks: Integrate with authentication system Get feedback from Product Owner on page design Update documentation Update app server to latest version Borrow a jphone from the lab. Get the Continuous Integration server running. ANDY Still think we can do this in two weeks, without compromising our definition of done and without working overtime? Developers and Product Owner give thumbs up sign. Yes. OTHER DEVELOPERS ANDY Anyone think we can t do it? All developers are silent. Question: Who is responsible for committing to work in the Sprint Planning Meeting? Wrong Answer: The Project Manager. Wrong Answer: The ScrumMaster.

12 Correct Answer: The Team. PETER (excited) Cool What about the next one? We see the Product Backlog again. The top item is now Update Grades, current semester. PETER pulls the item from the Product Backlog to the Sprint Backlog. PRODUCT OWNER (reads the text of the item, including the acceptance criteria) CARLA As we discussed during the Backlog Refinement Meeting, this one s tougher. Now our product must write our records to the database without breaking the legacy system. Time speeds up a little, using music. Developers swarm to add tasks: Write tests proving we don t break the legacy system. Write tests proving the legacy system doesn t break us. Analyze the legacy database schema. Write code using Test Driven Development (TDD) and pair programming. Write HTML/CSS for the update form. Get feedback from a real teacher. Add link from the display list to the update form. ANDY Can we do both of these PBIs in two weeks, without compromising our

13 definition of done and without working overtime? Developers and Product Owner give thumbs up sign. Yes. OTHER DEVELOPERS ANDY Anyone think we can t do it? All developers are silent. Time speeds up. The process repeats for the next two PBIs on the Product Backlog. Four PBIs and related tasks now fill the taskboard. PO and Developers look tired. We see the final Sprint Backlog (taskboard) populated with the top four items previously from the Product Backlog: View Grades, current semester Update Grades, current semester View Grades, previous semester GPA (Grade Point Average) Unless previously specified in the story, each PBI has separate Post-It notes for each of these tasks: Analyze Design Test Code Integrate Deploy NARRATOR Hey, It s Michael again. This team used the whole timebox to come up with this Sprint Backlog because it s one of their first Sprints. If we keep the

14 same team together and keep the Sprint length constant, they ll eventually develop a better intuitive sense of their own capacity. Product Owner points to the top item of the Product Backlog, which is now Attendance. PRODUCT OWNER What about Attendance? I d love to see that working NO DEVELOPERS (shouting in unison) CARLA We think this is enough work for one Sprint. Anyway, Attendance isn t related to the Sprint goal you declared. A Lean principle behind Scrum is to limit Work In Progress (WIP). Humans don t multitask efficiently. Too much Work In Progress actually slows things down. Question: Which is a better measure of progress? Wrong answer: How much work has been started. Correct answer: How much work has been finished. PETER That s a lot of tasks. Should we decide which individuals are doing which tasks now?

15 CARLA We tried that before, and discovered it led to less fluid collaboration than deciding during Sprint Execution. ANDY Yeah, I signed up for too much in the beginning, and was embarrassed to ask the rest of you for help. TIM After that, in our Sprint Retrospective Meeting TIM points to the list of Team Agreements on the wall. The title Team Agreements is legible, followed by a list of illegible agreements. The team will use this list again during the Sprint Retrospective Meeting. TIM (CONT D) we decided team members should wait until the last responsible moment to volunteer for tasks. One last check. Are you committed to these four PBIs as a team, even if it turns out to require different tasks? ANDY Yes, if you ll protect us from people asking us to do other things. We see wolves, maybe in a thought bubble. I ll protect you from the wolves. ANDY Then we ll commit. YES. DEVELOPERS (in unison) All developers give thumbs up sign.

16 PRODUCT OWNER I ll be available during the Sprint to make the final call about requirements questions. If you like, I can also attend your Daily Scrum Meetings. I declare the Sprint Planning Meeting over. High fives all around. The Sprint Planning Meeting ends. END SCENE Question: How many Sprints are planned during a Sprint Planning Meeting? Wrong Answer: All the Sprints left in the project. We know more on the first day of a project than we will know in the future. Correct Answer: One Sprint only. Once the Team has established a consistent velocity, the Product Owner can use this velocity to make longer range forecasts and release plans. Wrong Answer: Four Sprints. QUIZ - MULTIPLE CORRECT Question: Who must attend the Sprint Planning Meeting? Correct Answer: The Product Owner Correct Answer: The Scrum Development Team Correct Answer: The ScrumMaster Wrong Answer: Outside stakeholders

17 Wrong Answer: The managers of the team members Question: What does a Scrum Team attempt to do during its very first Sprint? Correct Answer: Analyze, design, build, integrate, and test a potentially shippable product increment, even if its features are initially simple and small. Wrong Answer: Analyze requirements only. Wrong Answer: Analyze requirements, and put together infrastructure only. QUIZ - MULTIPLE TRUE/FALSE Question: Which of the following are true regarding Product Backlog Items (PBIs) and tasks? True Answer: A PBI is more about the what than the how. A task is more about how. True Answer: A well-formed PBI represents distinct business value, ideally from the customer s perspective. A task is just a step by the team to create that value. True Answer: A task should be no bigger than one day of work. True Answer: Some Scrum Teams who have learned how to define small enough PBIs no longer find tasks necessary. True Answer: The Product Backlog should contain well-formed PBIs and not tasks.

18 NARRATOR That was one example of the Sprint Planning Meeting. To experience a Sprint Planning Meeting firsthand, attend one of our Scrum classes held around the world. Also download free resources such as the Scrum Reference Card, ScrumMaster Checklist, and white papers on many topics. CollabNet provides training, coaching, and tools to help you with Agility. The next module in the series will cover the Daily Scrum, and Sprint Execution. We see the sticker NEXT: Daily Scrum and Sprint Execution END LESSON NEXT LESSON - Daily Scrum Meeting