Chapter 3!: Agile Development!
Chapter 3!: Agile Development!
Agile Development!
by Roger S. Pressman
Slides copyright 1996, 2001, 2005, 2009 by Roger S. Pressman
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
1!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
2!
What is Agility?!
Effective (rapid and adaptive) response to
change!
Effective communication among all stakeholders!
Drawing the customer onto the team!
Organizing a team so that it is in control of the
work performed!
Yielding !
Rapid, incremental delivery of software!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
3!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
4!
An Agile Process!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
5!
Agility Principles - I!
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 facetoface
conversation.!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
6!
7!
Human Factors!
Competence.!
Common focus.!
Collaboration.!
Decision-making ability.!
Fuzzy problem-solving ability.!
Mutual trust and respect.!
Self-organization.!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
8!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
9!
XP Design!
Follows the KIS principle!
Encourage the use of CRC cards (see Chapter 8)!
For difficult design problems, suggests the creation of spike
solutionsa design prototype!
Encourages refactoringan iterative refinement of the internal
program design!
XP Coding!
Recommends the construction of a unit test for a store before
coding commences!
Encourages pair programming!
XP Testing!
All unit tests are executed daily!
Acceptance tests are defined by the customer and excuted to
assess customer visible functionality!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
10!
simple design
CRC cards
spike solutions
prototypes
refactoring
pair
programming
Release
software increment
project velocity computed
unit test
continuous integration
acceptance testing
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
11!
Mission-driven planning!
Component-based focus!
Uses time-boxing (See Chapter 24)!
Explicit consideration of risks!
Emphasizes collaboration for requirements gathering!
Emphasizes learning throughout the process!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
12!
Requirements gathering
JAD
mini-specs
Release
software increment
adjustments for subsequent cycles
components implemented/tested
focus groups for feedback
formal technical reviews
postmortems
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
13!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
14!
15!
Scrum!
Originally
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
16!
Scrum!
17!
Crystal!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
18!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
19!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
20!
Agile Modeling!
These slides are designed to accompany Software Engineering: A Practitioners Approach, 7/e
(McGraw-Hill, 2009) Slides copyright 2009 by Roger Pressman. !
21!