More Related Content Similar to Masterclass - Agility with Use Cases (20) Masterclass - Agility with Use Cases2. www.divetro.nl
Roadmap
• Agile manifesto
• The need for documentation
• WS1: Connecting stories to the big picture
• Use case slices
• WS2: Find the missing stories
• When more details are required
• WS3: Analysing a user story (slice)
• Just-in-time
• WS4: Find the right level of detail
• Takeaways
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
3. www.divetro.nl
Manifesto for Agile Software Development
Working software
Responding to
change
Individuals and
interactions
Customer
collaboration
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
4. www.divetro.nl
Manifesto for Agile Software Development
Working software
Responding to
change
Individuals and
interactions
Customer
collaboration
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
5. www.divetro.nl
Documentation
1. Requirements – Statements that identify attributes, capabilities,
characteristics, or qualities of a system. This is the foundation for what
will be or has been implemented.
2. Architecture/Design – Overview of software. Includes relations to an
environment and construction principles to be used in design of
software components.
3. Technical – Documentation of code, algorithms, interfaces, and APIs.
4. End user – Manuals for the end-user, system administrators and
support staff.
5. Marketing – How to market the product and analysis of the market
demand.
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
7. www.divetro.nl
The need for documentation
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
• Complexity
• Lifecycle of solution
• Number of teams
• Team size
• Geographical
locations
• Domain knowledge
team
• Accessibility domain
experts (PO)
• Legislation / severity
of errors
• Number of Stories
8. www.divetro.nl
Connecting stories to the big picture
1. Study the provided UC model
2. Study the brief descriptions
3. Study the provided user stories
4. Connect each user story to one or more use cases
30 minutes
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
9. www.divetro.nl
• Is created by selecting one or
more stories for implementation
• …, acts as a placeholder for all
the work required to complete the
implementation of the stories
• …, and evolves to include the
equivalent slices through design,
implementation and test.
• Is described by a set of structured
stories in
the form of:
• A use-case narrative containing
flows and special requirements
• And a set of matching Test Cases
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
Use case slices
Use-Case SliceUse Case
10. www.divetro.nl
Align Backlog and Use Cases
Actor 01
(from
Actors)
Actor 02
(from
Actors)
Actor 03
(from
Actors)
(from Heavy Molecule)
Use Case 01
(from Heavy Molecule)
Use Case 02
(from Heavy Molecule)
Use Case 03
(from Heavy Molecule)
Use Case 04
Actor 06
(from
Actors)
Actor 05
(from
Actors)
«include»
Connect backlog stories to
Use cases
Divide Use Cases into
slices and compare them to
backlog stories
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
11. www.divetro.nl
Find the missing stories
1. Study the bulleted outline versions of the provided use cases
• UC01 Register birth (BO)
• UC05 Register change of address (BO)
• UC09 Register demise (BO)
2. Study the provided user stories
3. Find the missing stories for each provided bulleted outlines
30 minutes
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
12. www.divetro.nl
When more details are required
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
• Complexity • Ambiguity
• Requirements
exceed use cases • Number of scenario’s
• Safety, financial or
legal requirements
• Relationships between
glossary items
13. www.divetro.nl
Supporting Information
Logical flow of adding details
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
Supplementary
Requirements
Test scenario's
Glossary Domain model Business rulesUse Case
Narrative
Use Case
Realisation
14. www.divetro.nl
Analysing a user story (slice)
1. Study the essential outline versions of the provided use cases
• UC01 Register birth (Ess)
• UC05 Register change of address (Ess)
2. Study the provided user stories
3. For each story
• Identify part of narrative that (might) need more details
• If details are needed
• Choose suitable way / form to add details if needed
• When would you add these details?
30 minutes
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
15. www.divetro.nl
Just-in-time
Just-in-time is a subjective concept
• Just-in-time could be:
• Sequential flow of Requirements, Development and Test
• Parallel flow of Requirements, Development and Test
• Any other combination
• Just-in-time could be influenced by:
• Maturity of organization / team in agile processes
• Organizational structure (hierarchical culture)
• Focus on what you “really” need at a particular moment
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
16. www.divetro.nl
Just-in-time and Just-enough
Just-in-time and Just-enough are related
• The level of detail is dependent on the moment that you need it
• What’s needed later, might blur your vision at this moment
• What’s needed now, could well be insufficient at a later moment
• Don’t add details because you can
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases
17. www.divetro.nl
Find the right level of detail
1. Study the provided documentation on Work products and States
2. Find for each Work product the appropriate State for the following
situations / scenario’s
• The initial version of the product backlog (to be created)
• The initial version of the architecture (to be created)
• The end of a sprint where a complex story was developed
• The release of the first version of the product
20 minutes
© DiVetro 2016 20161116 - Masterclass - Agility with Use Cases