
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















1
Sharif University of Technology
Software Development Methodologies – Lecture 10
Developed by Beck in 1996
Developed
by Beck in 1996.
The first authentic XP book appeared in 1999
with a
The first authentic XP book appeared in 1999, with arevised and refined version appearing in 2004.
A
lthough some of the methodologies that are nowadays dubbed as agile are older than XP, it was the advent ofXP that sparked the agile movementXP that sparked the agile movement.
XP considers itself a software engineering
discipline
XP considers itself a software engineering
discipline
rather than a
methodology, yet it does incorporate a
process.
2
Sharif University of Technology
Software Development Methodologies – Lecture 10 XP: Process
4
Sharif University of Technology
[Abrahamsson et al. 2002]
Software Development Methodologies – Lecture 10 XP: Process – Development Engine
p
g
T
he activities performed in the second, third and fourth phases of the process constitute the development “engine” of the XPmethodology.methodology.
Each execution (run) of these phases produces a new release.
A first release of the system is initially produced and deployed,which
is
then
incrementally
improved
and
complemented
which
is
then
incrementally
improved
and
complemented
during the
maintenance phase through further iterations (runs)
of the development engine.
5
Sharif University of Technology
Software Development Methodologies – Lecture 10 XP Process: Exploration
p
A
coach acting as monitor and facilitator, a number of
programmers, and a business
representative (
customer) participating in project activities and supplying the team
representative (
customer) participating in project activities and supplying the team
with information and feedback
[Optional] A number of
analysts to help elicit the requirements, a number of
testers
helping define acceptance tests, and a
resource manager
defines a system feature as seen from the customer’s point of view.
is written by the customer in his own terminology on index cards.
y^
gy
Is nothing but a short description (around three sentences) of a certain chunk offunctionality needed to be delivered by the system.
A prototype (called
Spike or
Spike Solution) is developed, exploring potential
architectures for the system.
The prototype helps the team define the system
Metaphor, which is typically a very
simple
high-level description of how the system works
simple, high level description of how the system works.
It usually takes the form of a description-by-analogy in order to be easilyunderstandable to all the team members.
Though informal, the metaphor gives an extremely useful idea of the overall
hit
t^
f th
t^
ith
t^
tti
t^
t^
i t
7
Sharif University of Technology
architecture of the system without setting too many constraints.
Software Development Methodologies – Lecture 10 XP Process: Development Engine –
Top-Level Activities
p
g
p
8
Sharif University of Technology
[Wells 2003]
Software Development Methodologies – Lecture 10 XP Process: Iterations to First Release^ 1. Iteration planning: at the start of each iteration, a planning meeting is held,
performing:
and failed acceptance tests to rectify
p^
p^
y
process with daily cycles consisting of the following activities:
l^
d^
d^
d^
C ll
C d
h
environment
10
Sharif University of Technology
Software Development Methodologies – Lecture 10 XP Process: Development Engine –
Iteration
A
ctivities
p
g
11
Sharif University of Technology
[Wells 2003]
Software Development Methodologies – Lecture 10 XP Process: Iterations to First Release -
Development
p
A short stand up meeting is held every morning in order to communicate
A short stand up meeting is held every morning in order to communicateproblems and solutions, and help the team keep on track.
Ownership environment:Ownership environment:
y,
g ,
test-driven development to make collective code ownership possible:
the developers have to create unit tests for their code as they develop it.
All the code in the code repository includes unit tests, forming a suite of tests that isautomatically applied by test tools whenever code is added or changedautomatically applied by test tools whenever code is added or changed.
The test suite safeguards the repository from malignant change: for code to beallowed integration into the repository, it must pass the entire test suite.
Black-box acceptance tests based on the user stories are defined by the customerand developed by the team during the iteration
and are frequently applied (by
and developed by the team during the iteration, and are frequently applied (byautomated tools) to the code.
13
Sharif University of Technology
Software Development Methodologies – Lecture 10 XP Process: Development Engine – Iteration
Development
Activities
14
Sharif University of Technology
[Wells 2003]
Software Development Methodologies – Lecture 10 XP Process: Development Engine – Iteration
Development
Activities
Activities in the Collective-Code-Ownership Environment
16
Sharif University of Technology
[Wells 2003]
Software Development Methodologies – Lecture 10 XP Process: Productionizing
g
System-wide verification and validation: The release is tested to make sure ofthe user’s approval and the system’s readiness for deployment.
^
Acceptance tests
mostly developed during the iterations-to-first-release phase
^
Acceptance tests, mostly developed during the iterations to first release phase,are used here as regression tests. ^
Defects found are resolved through iterations of the main development cycle.
Deployment into the production environment: the release is introduced intothe user environment.
^
Involves the usual integration
conversion
tuning
training
and documentation
^
Involves the usual integration, conversion, tuning, training, and documentationactivities typical of deployment efforts. ^
Any tuning and stabilization action on the release itself is regarded as adevelopment activity and is conducted through short iterations (typically weekly)of the development cycleof the development cycle.
17
Sharif University of Technology
Software Development Methodologies – Lecture 10 XP Process: Death^
T
he project is declared dead when evolution is either unnecessary or impossible.
The main activities performed in this phase of the XP process are:
i l
d^
i l l
d
financial and social loose ends.
i i
h^
l^
l^
d f
h^
j
report summarizing the lessons learned from the project.
19
Sharif University of Technology
Software Development Methodologies – Lecture 10 XP: Strengths and Weaknesses^
Strengths ^
Iterative-incremental process
Based on system functionality captured in
User Stories
Based on system functionality captured in
User Stories
The process is tuned according to feedback during itsexecutionexecution
Traceability to requirements through the use of
user stories
throughout the process as the basis for tasks and tests
Based on system architecture (
Metaphor) identified through
prototypingA ti
i^
l^
t
A
ctive user involvement
Test-based development
20
Sharif University of Technology