Beruflich Dokumente
Kultur Dokumente
Requirements
Lean Requirements Practices for
Teams, Programs, and the Enterprise
Dean Leffingwell
Foreword by Don Reinertsen
Agile Software
Requirements
By Dean Leffingwell
Lean Requirements Practices for
Teams, Programs, and the Enterprise
Dean Leffingwell
Foreword by Don Reinertsen
Orlando, FL
Dean Leffingwell
Foreword by Don Reinertsen
Agile Software
Requirements
Lean Requirements Practices for
Teams, Programs, and the Enterprise
Dean Leffingwell
Foreword by Don Reinertsen
Dean Leffingwell
Foreword by Don Reinertsen
Dean Leffingwell
Foreword by Don Reinertsen
Dean Leffingwell
Foreword by Don Reinertsen
NONFUNCTIONAL
REQUIREMENTS IN AGILE
CONTEXT
© 2010 Leffingwell and, LLC. and Ryan Shriver 5
The Agile Team in The Enterprise Agile Software
Requirements
Lean Requirements Practices for
Teams, Programs, and the Enterprise
Dean Leffingwell
Foreword by Don Reinertsen
User
Story
As a <role>
I can <activity>
So that <business value>
Dean Leffingwell
Foreword by Don Reinertsen
Story A
Fixed Resources
Story B
Story C
Plan
Story D
Story E
Story F
Story …
Dean Leffingwell
Foreword by Don Reinertsen
Backlog Item
and functional testing for
every story
Is one of
1..* 1..*
Dean Leffingwell
Foreword by Don Reinertsen
Dean Leffingwell
Foreword by Don Reinertsen
And, even if I know 100 things that “as a <role> I Agile Software Development Series
Dean Leffingwell
Foreword by Don Reinertsen
Features
Agile Software Development Series
Drives
Release
Vision
Stories
Release Planning
Release Scope
and Boundaries Iteration Cycle
Iteration Planning
Stories
Release timebox
© 2010 Leffingwell and, LLC. and Ryan Shriver 14
So we need to extend the information Agile Software
Requirements
Lean Requirements Practices for
Teams, Programs, and the Enterprise
Realized by Implemented by
Feature 0,1 1..*
Story 1 1..*
Task
Or:
Dean Leffingwell
Foreword by Don Reinertsen
Backlog Item
Is one of
Realized by Implemented by
Feature 0,1 1..*
Story 1 1..*
Task
1 1
Done when
passes
1..*
Features typically span
many teams Acceptance Test
Dean Leffingwell
Foreword by Don Reinertsen
Features and user stories express functional Agile Software Development Series
requirements
But other requirements determine system quality
as well:
– Performance, reliability and security requirements
– Industry and Regulatory Standards
– Design constraints, such as those that provide common
behavior across like components
Typically, these system level qualities
– Span multiple components/products/applications/
services/subsystems
– Can often only be tested at the system level
Constrained by Non-functional
Backlog Item 0..* 0..* Requirement
Is one of
Realized by Implemented by
Feature 0,1 1..*
Story 1 1..*
Task
1 1
Done when
passes
1..*
Acceptance Test
Dean Leffingwell
Foreword by Don Reinertsen
As a consumer I
want to be As your CFO, I
notified of any need to make sure
messages from we don’t use any As a product
the utility in less manager, I need
open source
User than one minute to make sure we
software that I
voice form of arrival so that haven’t approved, update the logo to
I can take so we don’t have satisfy marketing
appropriate action license exposure
quickly
Dean Leffingwell
Foreword by Don Reinertsen
specialty skills
Series Editors
province of Is one of
0..*
Realized by Implemented by
Feature
1
0,1 1..*
Story 1 1..*
Task
1 1
Done when
passes
1..*
Acceptance Test
NFR
Dean Leffingwell
Foreword by Don Reinertsen
Automated
Manual
& Manual
Agile Software Development Series
Automated Tools
Dean Leffingwell
Foreword by Don Reinertsen
Source: Wikipedia
Dean Leffingwell
H H
H H
Agile Software
Requirements
Lean Requirements Practices for
Teams, Programs, and the Enterprise
Dean Leffingwell
Foreword by Don Reinertsen
Today’s Exercise:
IDENTIFYING AND
QUANTIFYING QUALITIES
Dean Leffingwell
Foreword by Don Reinertsen
Dean Leffingwell
Foreword by Don Reinertsen
Objective
– Identify highest priority quality improvements
Agile Software Development Series
Dean Leffingwell
Foreword by Don Reinertsen
Levels of Concern
Alistair Cockburn and Jim Highsmith,
Series Editors
Organization Ends
Objectives
Exercise Focus
Means Ends
Product Products,
Qualities
Features
Means
Design Design,
Architecture
Stakeholders
are
the
en..es
we’re
trying
to
Quali.es
reflect
“how
well”
the
product
deliver
value
to
by
building
a
product
performs,
not
“what”
func.ons
it
performs
1. Pair
up
with
a
partner
and
spend
2
minutes
brainstorming
a
list
of
Examples:
Business
Sponsor,
Customer,
User,
Examples:
Usability,
Responsiveness,
stakeholders
Opera.ons
Throughput
Dean Leffingwell
Foreword by Don Reinertsen
Functionality
– Features, User Stories, Capabilities, Security
Agile Software Development Series
Usability
– Human factors, Aesthetics, Consistency, Documentation
Reliability
– Availability, Recoverability, Accuracy
Performance
– Responsiveness, Throughput, Scalability
Supportability
– Maintainability, Testability, Extensibility, Adaptability, Serviceability,
Configurability, Portability, Compatibility
Source: FURPS model developed at Hewlett-Packard and documented by Robert Grady and
Deborah Caswell in Software Metrics: Establishing a Company Wide Program (1987)
© 2010 Leffingwell and, LLC. and Ryan Shriver 32
Today You Will Learn How To Agile Software
Requirements
Lean Requirements Practices for
Teams, Programs, and the Enterprise
Dean Leffingwell
Foreword by Don Reinertsen
Dean Leffingwell
Foreword by Don Reinertsen
Dean Leffingwell
Foreword by Don Reinertsen
Name: Usability.Efficiency
Scale: Number of Actions to complete a Transaction from a Location Agile Software Development Series
Name: Usability.Conversion
Scale: Percentage of Users who complete a Transaction after starting
Meter: Google Analytics conversion report
Alternative Syntax
Name: Usability
Scales:
Efficiency: Number of Actions to complete a Transaction from a Location
Conversion: Percentage of Users who complete a Transaction after starting
Meters:
Efficiency: Average observed results from usertesting.com usability tests
Conversion: Google Analytics conversion report
Step
2:
Establish
Baseline
and
set
appropriate
targets
and
constraints
Meter:
Target:
Success
level
to
achieve
Constraint:
Failure
level
to
avoid
Baseline:
Current
level
Baseline
Constraint
Target
[Qualifiers]:
Specificity
and
Reusable
Scales
<-‐
Sources:
Addi=onal
transparency
and
credibility
Defini'ons:
To
clarify
terminology
and
meaning
Dean Leffingwell
Foreword by Don Reinertsen
include
Method Description
Create a New Meter Create a new method of measuring. This requires the
team to implement new capabilities in order to
measure in the future
Estimate Do the best you can to estimate what the existing
baseline is, even if there’s no supporting data. Use
the <- source tag to indicate credibility of data
Dean Leffingwell
Foreword by Don Reinertsen
Common methods for establishing Target and Agile Software Development Series
Method Description
Improvement from the Baseline Plan a 20% - 40% improvement over
current levels by next year
0% 100%
Constraint Baseline Target
0% 30% 100%
Baseline Constraint Target
-20% 0% 100%
© 2010 Leffingwell and, LLC. and Ryan Shriver 39
Real Product Examples – Steps 1 & 2 Agile Software
Requirements
Lean Requirements Practices for
Teams, Programs, and the Enterprise
Dean Leffingwell
Foreword by Don Reinertsen
Name: Usability
Scales:
Efficiency: Number of Actions to complete a Transaction from a Location Agile Software Development Series
Baseline:
Efficiency [eCommerce; Release 1]: 103 actions <- Average of 10 usability tests
Conversion [eCommerce; Q4 2009 – Q2 2010]: 0.37% <- Current state
Target:
Efficiency [eCommerce; Release 2]: 62 actions <- 40% reduction
Conversion [eCommerce; Q4 2010 – Q2 2011]: 0.5% <- 30% increase, industry average
Constraint:
Efficiency [eCommerce; Release 2]: 93 actions <- 10% reduction
Conversion [eCommerce; Q4 2010 – Q2 2011]: 0.43% <- 15% increase
Step
2:
Establish
Baseline
and
set
appropriate
targets
and
constraints
Meter:
Target:
Success
level
to
achieve
Constraint:
Failure
level
to
avoid
Baseline:
Current
level
Baseline
Constraint
Target
[Qualifiers]:
Specificity
and
Reusable
Scales
<-‐
Sources:
Addi=onal
transparency
and
credibility
Defini'ons:
To
clarify
terminology
and
meaning
Dean Leffingwell
Foreword by Don Reinertsen
Dean Leffingwell
Foreword by Don Reinertsen
Dean Leffingwell
Foreword by Don Reinertsen
THANK YOU