Dissatisfaction with the overheads involved in software design methods of the 1980s and 1990s led to the creation of agile methods.

Similar documents
An Introduction to Scrum

An Introduction to Scrum. Mountain Goat Software, LLC

Requirements. Mountain Goat Software, LLC. Scrum in 100 words. Mountain Goat Software, LLC

Rapid software development. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 1

Getting Agile with Scrum

An Introduction to Scrum

Objectives. Rapid software development. Topics covered. Rapid software development. Requirements. Characteristics of RAD processes

Software Engineering Lecture 5 Agile Software Development

Agile and Scrum 101 from the Trenches - Lessons Learned

Scrum - Introduction. Petri Heiramo. Agile Coach, CST

Chapter 3 Agile Software Development

Part 1. Software engineering Facts. CSC 4181 Compiler Construction Software Engineering Lectures. What is software engineering? What is software?

Certified Scrum Master

Scrum. Juan Gabardini. Administración y Control de Proyectos Informáticos II. Universidad de Buenos Aires. 1 er cuatrimestre 2007

Agile Software Development

Advanced Software Engineering. Lecture 7: Agile Development by Prof. Harold Liu

20 October /21/2011 1

WELCOME TO INTRO TO AGILE PROJECT MANAGEMENT AUBREY KAIGLER, PMP, ITIL. Please configure your audio: Meeting Audio Setup Wizard

An Introduction to Scrum

Management by Consensus

Introduction to Scrum. Stig Efsen, Agile Coach, VP Process Improvement Sep Training

Scrum and Agile Processes. Dr.-Ing. Oliver Ciupke Haufe-Lexware GmbH & Co. KG 2011

Processes and Life- Cycles. Kristian Sandahl

Agile Beyond Software

Agile Software Development. Agile Software Development Basics. Principles of the Agile Alliance. Agile Manifesto. Agenda. Agile software development

Oracle Unified Method (OUM) Using OUM with Agile Techniques. Jan Kettenis Oracle Global Methods Oracle Consulting Netherlands

HELP!!! THE SCRUM MASTER IS THE IMPEDIMENT!

Rapid software development

Agile Development Methods: Philosophy and Practice. CSCE 315 Programming Studio, Fall 2017 Tanzir Ahmed

SCRUM GUIDE SCRUM GUIDE 02. * Agile Software Development with Scrum, Ken Schwaber, Microsoft Press, 2004

Improving Agile Execution in the Federal Government

Two Branches of Software Engineering

Requirements Engineering and SCRUM. Peter Dolog dolog [at] cs [dot] aau [dot] dk E2-201 Information Systems February 13, 2007

Introduction to Agile and Scrum

SCRUM - LESSONS FROM THE TRENCHES

Thriving in an Agile Environment. Kathryn Poe Rocky Mountain Chapter Feb 16, 2012

SWE 211 Software Processes

Johanna Rothman. Chapter 1 Why Agile and Lean Approaches Work. Copyright 2017

AGILE methodology- Scrum

Scrum Testing: A Beginner s Guide

Student Scrums Workshop. Tom Reichlmayr Rochester Institute of Technology Department of Software Engineering

Non-object-oriented design methods. Software Requirements and Design CITS 4401 Lecture 15

Agile Tutorial for the Senior Project Class School of Computing and Information Sciences Florida International University

AHGILE A N D B O O K

How to Prepare for and Implement a Project Using Scrum

Change Agile. Ben Linders, André Heijstek. veranderproject.nl

Professional Scrum Developer with Rudi Larno & Steven Kockelkoren. May 9 May 13, 2011 Belgium (location TBD)

AGILE SOLUTIONS. Agile Basics

PMI Agile Certified Practitioner (PMI-ACP) Duration: 48 Hours

Sample Exam ISTQB Agile Foundation Questions. Exam Prepared By

1. Organizational information (company and business unit): 2. How large is the organization (number of employees)? !25 8.7%

Introduction to Agile/Extreme Programming

AGILE FOR NON-IT PRACTITIONERS

Agile and CMMI : Disciplined Agile with Process Optimization

Owning An Agile Project: PO Training Day 2

An Evolutionary Lifecycle Model with Agile Practices for Software Development at ABB

Scrum. a description. V Scrum Alliance,Inc 1

Debunking Agile Myths

AGILE FOR NON-IT PRACTITIONERS

Product Owner Training - From Idea to Implementation. Robin Dymond Mark Pushinsky

Introduction to Agile Life Cycles. CSCI 5828: Foundations of Software Engineering Lecture 07 09/13/2016

Scrum Master / Agile Project Manager An Approach for Personal Competency Development

Scrum Intro What s in it for me?

Agile Quality Management

Scrum, Creating Great Products & Critical Systems

Copyright Intertech, Inc All Rights Reserved. May 18, 2011

In-House Agile Training Offerings

AGILE EXECUTIVE OVERVIEW

Extreme Programming, an agile software development process

ESUG Prague. Scrum in Practice. the art of the Wizard. Rowan Bunning Wizard Information Services

Agile Delivery Framework (ADF)

From Adoption to Transition

Building a Product Users Want: From Idea to Backlog with the Vision Board

Agile Project Management: Best Practices and Methodologies

Extreme programming XP 5

International Scrum Master Foundation. Study Guide Take the Certification online

This course will explore how your projects can easily and successfully make the transition to an effective Agile environment.

The Agile Service Management Guide

Agile Software Development Agreements: Navigating the Complex Contracting Issues

THE ADVANTAGES OF AGILE METHODOLOGIES APPLIED IN THE ICT DEVELOPMENT PROJECTS

Agile Business Analysis - Resurgence. Dorothy Tudor - TCC

Introduction to Agile (Scrum)

Dr J Paul Gibson, Dept. INF, TSP, Evry, France

Application of Agile Delivery Methodologies. Bryan Copeland Energy Corridor Brown Bag Event August 31, 2016

Agile Teamwork: 3 Ways to Minimize Handoffs. by Mike Cohn 8 Comments originally published in Better Software on

Case Study: How to Eliminate Flaws of Waterfall and Agile Development Processes Using a Hybrid Model

AGILE MYTH BUSTERS- THAT S NOT AGILITY!

Agile Beyond Software

The Seven Deadly Sins of Scrum

Questioning Extreme Programming

AGILE TEST MANAGEMENT WITH VISUAL STUDIO

Scrum Team Roles and Functions

Lecture 29: Agile Design and Extreme Programming

Wstęp do estymacji w Scrum.

Virtually Agile. Astro Sabre (Matt Ganis) IBM, Senior Technical Staff Member Hawthorne, NY - September 20, 2007

Introduction to Scrum

Agile & Lean / Kanban

Agile Software Development

Metodologías Agiles en E///

Burn Up and Burn Down An Overview of Scrum. Neal Kuhn Business Systems Architects, LLC

Transcription:

Agile methods Dissatisfaction with the overheads involved in software design methods of the 1980s and 1990s led to the creation of agile methods. These methods: Focus on the code rather than the design Are based on an iterative approach to software development Are intended to deliver working software quickly and evolve this quickly to meet changing requirements. The aim of agile methods is to reduce overheads in the software process (e.g. by limiting documentation) and to be able to respond quickly to changing requirements without excessive rework. 2

Principles ofagile methods Principle Customer involvement Incremental delivery People not process Embrace change Maintain simplicity Description The customer should be closely involved throughout the development process. Their role is provide and prioritise new system requirements and to evaluate the iterations of the system. The software is developed in increments with the customer specifying the requirements to be included in each increment. The skills of the development team should be recognised and exploited. The team should be left to develop their own ways of working without prescriptive processes. Expect the system requirements to change and design the system so that it can acc ommodate these changes. Focus on simplicity in both the software being developed and in the development process used. Wherever possible, actively work to eliminate complexity from the system. 3

Agile Methods Comparison with traditional methods Agile methods require customer involvement throughout development versus involvement only at specific phases. Agile methods only develop detailed plans for the near term versus detailed planning over the entire project. Agile methods use working code and prototypes versus documentation 4

Agile Methods Agile methods rely on early developer test case development versus separate test functions. Example Test Driven Development Agile methods design for one feature at a time versus complete design. Agile methods produce many small release versus a limited number of larger releases. 5

Agile method applicability Product development where a software company is developing a small or medium-sized product for sale. Custom system development within an organization, where there is a clear commitment from the customer to become involved in the development process and where there are not a lot of external rules and regulations that affect the software. Because of their focus on small, tightly-integrated teams, there are problems in scaling agile methods to large systems. 7

Problems with agile methods It can be difficult to keep the interest of customers who are involved in the process. Team members may be unsuited to the intense involvement that characterizes agile methods. Prioritizing changes can be difficult multiple stakeholders. where Maintaining simplicity requires extra work. 8

Agile Methods Example Agile Methods Extreme Programming OpenUP LEAN Development Crystal SCRUM Test Driven Development 14

The Extreme Programming (XP) release cycle 16

Extreme programming practices 1 Incremental planning Small Releases Simple Design Requirements are recorded on Story Cards and the Stories to be included in a release are determined by the time available and their relative priority. The developers break these Stories into development Tasks The minimal useful set of functionality that provides business value is developed first. Releases of the system are frequent and incrementally add functionality to the first release. Enough de sign is carried out to meet the current requirements and no more. Test first development An automated unit test framework is used to write tests for a new piece of functionality before that functionality itself is implemented. Refactoring All developers are expected to refactor the code con tinuously as soon as possible code improvements are found. This keeps the code simple and maintainable. 17

Extreme programming practices 2 Pair Programming Collective Ownership Continuous Integration Sustainable pace On-site Customer Developers work in pairs, checking ea ch otherõs work and providing the support to always do a good job. The pairs of developers work on all areas of the system, so that no islands of expertise develop and all the developers own all the code. Anyone can change anything. As soon as work on a task is complete it is integrated into the whole system. After any such integration, all the unit tests in the system must pass. Large amounts of over-time are not considered acceptable as the net effect is often to reduce code qua lity and medium term productivity A representative of the end-user of the system (the Customer) should be available full time for the use of the XP team. In an extreme programming process, the customer is a member of the development team and is responsible for bringing system requirements to the team for implementation. 18

XP and agile principles y Incremental development is supported through small, frequent system releases. y Customer involvement means full-time customer engagement with the team. y People not process through pair programming, collective ownership and a process that avoids long working hours. y Change supported through regular system releases. y Maintaining simplicity through constant refactoring of code. 19

Customer involvement y Customer involvement is a key part of XP where the customer is part of the development team. y The role of the customer is: y To help develop stories that define the requirements y To help prioritise the features to be implemented in each release y To help develop acceptance tests which assess whether or not the system meets its requirements. 20

Requirements scenarios In XP, user requirements are expressed as scenarios or user stories. These are written on cards and the development team break them down into implementation tasks. These tasks are the basis of schedule and cost estimates. The customer chooses the stories for inclusion in the next release based on their priorities and the schedule estimates. 21

Story card for document downloading 22

XP and change Conventional wisdom in software engineering is to design for change. It is worth spending time and effort anticipating changes as this reduces costs later in the life cycle. XP, however, maintains that this is not worthwhile as changes cannot be reliably anticipated. Rather, it proposes constant code improvement (refactoring) to make changes easier when they have to be implemented. 23

Refactoring Refactoring is the process of code improvement where code is reorganised and rewritten to make it more efficient, easier to understand, etc. Refactoring is required because frequent releases mean that code is developed incrementally and therefore tends to become messy. Refactoring should not change the functionality of the system. 24

Testing in XP y Test-first development. y Incremental test development from scenarios. y User involvement in test development and validation. y Automated test harnesses are used to run all component tests each time that a new release is built. 25

Task cards for document downloading 26

Test case description 27

Test-first development y Writing tests before code clarifies the requirements to be implemented. y Tests are written as programs rather than data so that they can be executed automatically. The test includes a check that it has executed correctly. y All previous and new tests are automatically run when new functionality is added. Thus checking that the new functionality has not introduced errors. 28

Pair programming y In XP, programmers work in pairs, sitting together to develop code. y This helps develop common ownership of code and spreads knowledge across the team. y It serves as an informal review process as each line of code is looked at by more than 1 person. y It encourages refactoring as the whole team can benefit from this. y Measurements suggest that development productivity with pair programming is similar to that of two people working independently. 29

Problems with XP y Customer involvement y This is perhaps the most difficult problem. It may be difficult or impossible to find a customer who can represent all stakeholders and who can be taken off their normal work to become part of the XP team. For generic products, there is no customer - the marketing team may not be typical of real customers. 30

Problems with XP y Architectural design y The incremental style of development can mean that inappropriate architectural decisions are made at an early stage of the process. y Problems with these may not become clear until many features have been implemented and refactoring the architecture is very expensive. y Test complacency y It is easy for a team to believe that because it has many tests, the system is properly tested. y Because of the automated testing approach, there is a tendency to develop tests that are easy to automate rather than tests that are good tests. 31

Key points y Extreme programming includes practices such as systematic testing, continuous improvement and customer involvement. y Customers are involved in developing requirements which are expressed as simple scenarios. y The approach to testing in XP is a particular strength where executable tests are developed before the code is written. y Key problems with XP include difficulties of getting representative customers and problems of architectural design. 33

Scrum Scrum is an agile process that allows us to focus on delivering the highest business value in the shortest time. It allows us to rapidly and repeatedly inspect actual working software (every two weeks to one month). The business sets the priorities.teams self-organize to determine the best way to deliver the highest priority features. Every two weeks to a month anyone can see real working software and decide to release it as is or continue to enhance it for another sprint.

Scrum has been used for: y Commercial software y In-house development y Contract development y Fixed-price projects y Financial applications y ISO 9001-certified applications y Embedded systems y 24x7systems with 99.999% uptime requirements y the Joint Strike Fighter Video game development FDA-approved, life-critical systems Satellite-control software Websites Handheld software Mobile phones Network switching applications ISV applications Some of the largest applications in use

Characteristics y Self-organizing teams y Product progresses in a series of month-long sprints y Requirements are captured as items in a list of product backlog y No specific engineering practices prescribed y Uses generative rules to create an agile environment for delivering projects y One of the agile processes

The Agile Manifesto-a statement of values Individuals and interactions Working software Customer collaboration Responding to change over over over over Process and tools Comprehensive documentation Contract negotiation Following a plan Source: www.agilemanifesto.org

SCRUM

Sprints y Scrum projects make progress in a series of sprints y Analogous to Extreme Programming iterations y Typical duration is 2-4 weeks or a calendar month at most y A constant duration leads to a better rhythm y Product is designed, coded, and tested during the sprint

Sequential vs. overlapping development Requirements Design Code Test Rather than doing all of one thing at a time...scrum teams do a little of everything all the time Source: The New New Product Development Game by Takeuchi and Nonaka. Harvard Business Review, January 1986.

Scrum framework Roles Product owner ScrumMaster Team Ceremonies Sprint planning Sprint review Sprint retrospective Daily scrum meeting Artifacts Product backlog Sprint backlog Burndown charts

Scrum framework Roles Product owner ScrumMaster Team Ceremonies Sprint planning Sprint review Sprint retrospective Daily scrum meeting Artifacts Product backlog Sprint Burndown charts

Product owner y Define the features of the product y Decide on release date and content y Be responsible for the profitability of the product (ROI) y Prioritize features according to market value y Adjust features and priority every iteration, as needed y Accept or reject work results

The ScrumMaster y Represents management to the project y Responsible for enacting Scrum values and practices y Removes impediments(obstruction) y Ensure that the team is fully functional and productive y Shield the team from external interferences

The team y Typically 5-9 people y Cross-functional: Programmers, testers, user experience designers, etc. Teams are self-organizing

Scrum framework Roles Product owne ScrumMaster Team Ceremonies Sprint planning Sprint review Sprint retrospective Daily scrum meeting Artifacts Product backlog Sprint Burndown charts

Team capacity Product backlog Business conditions Current product Technology Sprint planning meeting Sprint prioritization Analyze and evaluate product backlog Select sprint goal Sprint planning Decide how to achieve sprint goal (design) Create sprint backlog (tasks) from product backlog items (user stories / features) Estimate sprint backlog in hours Sprint goal Sprint backlog

Sprint planning y Team selects items from the product backlog they can commit to completing y Sprint backlog is created y Tasks are identified and each is estimated y Collaboratively, not done alone by the ScrumMaster y High-level design is considered As a vacation planner, I want to see photos of the hotels. Code the middle tier (8 hours) Code the user interface (4) Write test fixtures (4) Code the xyz class (6) Update performance tests (4)

The daily scrum y Parameters y Daily y 15-minutes y Stand-up y Not for problem solving y Only team members, ScrumMaster, product owner, can talk y Helps avoid other unnecessary meetings

The sprint review y Team presents what it accomplished during the sprint y Typically takes the form of a demo of new features or underlying architecture y Informal y 2-hour prep time rule y No slides y Whole team participates

Sprint retrospective y Periodically take a look at what is and is not working y Typically 15-30 minutes y Done after every sprint y Whole team participates y ScrumMaster y Product owner y Team y Possibly customers and others

Scrum framework Roles Product owne ScrumMaster Team Ceremonies Sprint planning Sprint review Sprint retrospective Daily scrum meeting Artifacts Product backlog Sprint backlog Burndown charts

Product backlog This is the product backlog y The requirements y A list of all desired work on the project y Ideally expressed such that each item has value to the users or customers of the product y Prioritized by the product owner y Reprioritized at the start of each sprint

A sample product backlog Backlog item Estimate Allow a guest to make a reservation 3 As a guest, I want to cancel a reservation. As a guest, I want to change the dates of a reservation. As a hotel employee, I can run RevPAR reports (revenue-per-available-room) Improve exception handling 8 5 3 8 30 50

Cons y The basic premise that the team is committed to the project. If the team is not committed then process collapses y The management's comfort level in delegation of tasks

Cons 2 The size of the team is restricted due to the involvement of all team members Suited for development of new products and not for enhancement of an existing product Reliance on experience

A Scrum reading list y Agile and Iterative Development: A Manager s Guide by Craig Larman y Agile Estimating and Planning by Mike Cohn y Agile Project Management with Scrum by Ken Schwaber y Agile Retrospectives by Esther Derby and Diana Larsen y Agile Software Development Ecosystems by Jim Highsmith y Agile Software Development with Scrum by Ken Schwaber and Mike Beedle y Scrum and The Enterprise by Ken Schwaber y User Stories Applied for Agile Software Development by Mike Cohn y Lots of weekly articles at www.scrumalliance.org