Agile Development

Steven J Zeil:

Last modified: Sep 7, 2020
Contents:

Abstract

Agile methods are a modern approach to incremental development.

They emphasze:

This lesson is a discussion of the origins of Agile Development and a quick overview of the basic principles.

1 Agile as a Social Entity

1.1 Agile Development is

1.1.1 The Agile Manifesto

We are uncovering better ways of developing software by doing it and helping others do it. Through this work we have come to value:

  • Individuals and interactions over processes and tools
  • Working software over comprehensive documentation
  • Customer collaboration over contract negotiation
  • Responding to change over following a plan

That is, while there is value in the items on the right, we value the items on the left more.

1.1.2 The Twelve Principles of Agile Software

1) Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.

2) Welcome changing requirements, even late in development. Agile processes harness change for the customer’s competitive advantage.

3) Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale.

4) Business people and developers must work together daily throughout the project.

5) Build projects around motivated individuals. Give them the environment and support they need, and trust them to get the job done.

6) The most efficient and effective method of conveying information to and within a development team is face-to-face conversation.

7) Working software is the primary measure of progress.

8) Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely.

9) Continuous attention to technical excellence and good design enhances agility.

10) Simplicity – the art of maximizing the amount of work not done – is essential.

11) The best architectures, requirements, and designs emerge from self-organizing teams.

12) At regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly.

1.2 Variations

2 Fundamental Practices of Agile Development

 

source: The Agile Alliance

2.1 Teams

2.2 Incremental Development

Each successive version of the product

Contrast this with a strategy of delivering successive, complete subsystems that will not be revisited.

2.3 Users Stories Guide the Planning

A user story is a simple description of desired functionality, often written as a single sentence on an ordinary index card.

Over time, user stories are modified by

In an incremental construction process, small sets of stories are chosen for an upcoming increment as the target for the next round of construction.

2.3.1 Examples of User Stories

As a calendar owner, I want to view my schedule for the coming week.

As a visitor, I want to see when a calendar owner has free time in their schedule.

As a calendar owner, I want to receive email notication when someone accepts a proposed appointment.

As a systems administrator, I want to back up all calendars so that the data is safeguarded.

These illustrate some common patterns:

2.3.2 Stories are not Requirements

…despite the focus on functionality and non-functional characteristics.

2.3.3 Story Boards

3 Common Practices of Agile Development

3.1 Supporting Technology

Teams are supposed to keep themselves up-to-date.

3.2 Iteration Planning

3.2.1 Velocity

Rate at which functionality (user stories) completed per iteration.

3.2.2 Task Board

Contains stories to be completed in current iteration

3.3 Sustainable pace

3.4 Meetings

3.5 Rules of Simplicity

(Kent Beck)

Each code unit

3.6 TDD

Test-Driven Development goes beyond the commonly sited “test first, code later” rule

  1. write a “single” unit test describing an unimplemented functionality
  2. run the test (it should fail at this stage)
  3. write “just enough” code to make the test pass
  4. refactor the code until it conforms to the rules of simplicity

The four steps above are repeated, adding new, tested functionality each time.

3.7 Simple Design

4 Scrum

The most popular agile approach, characterized by


Scrum in Context

 

As the name suggests, Scrum

5 Values

6 Practices

6.1 Scrum Teams

6.2 Scrum Events

6.2.1 Sprints


6.2.2 Sprint Planning

Held at beginning of sprint:

6.2.3 Daily Scrum

6.2.4 Sprint Review

6.2.5 Sprint Retrospective

6.3 Backlogs

6.3.1 Project Backlog

6.3.2 Sprint Backlog

6.3.3 Burndown Charts

 

A burndown chart shows amount of work remaining in the sprint backlog

6.4 Scaling Up

An extension to Scrum for larger projects: