SlideShare a Scribd company logo
1 of 43
Example Mapping
The New Three Amigos
About Me
2
https://red-green-refactor.com/
@COGSfun
• There will group activities
• Participation in our activities is voluntary
• Questions are welcome at any time
3
Ground Rules for Today
Rules and Examples
with a Blockbuster
Movie
Group Activity | Blockbuster Movie
• Form teams with the people sitting closest to you.
• Write three RULES for a blockbuster
• Don’t share your rules with other attendees
• Sample rule: “Comic Book character is featured”
5
Adapted from Matt Wynne, “Stories, Rules, and Examples.” (BDDx, 2014)
As a big-time Hollywood movie
executive
I want to create the next
blockbuster movie
In order to make a lot of money
Group Activity | Blockbuster Movie
• Create three EXAMPLES that illustrate your rules
6
The movie is released on
the July 4th weekend
Will Smith starring
alongside Aliens
Group Activity | Blockbuster Movie
• Share your EXAMPLES with another team.
• Attempt to guess the other team’s rules.
• Your team may create new EXAMPLES and ask the other team to
confirm the examples meet the RULES.
• How many examples did it take to guess the rules correctly?
7
Group Activity | Blockbuster Movie
8
The movie is released
on the July 4th
weekend
Robert Downey Jr is
the lead actor
Must release on a
Holiday
Must feature an
established
Hollywood Star
Deadpool kills Ryan
Reynolds before he
can star in the
Green Lantern
The movie breaks
the fourth wall
Group Activity | Blockbuster Movie
Why do we need both RULES and EXAMPLES?
9
Use the EXAMPLES to illustrate the RULES
of USER STORIES
10
Examples
Rules /
Acceptance
Criteria
User
Stories
Examples
Examples
• Examples can take various forms: input-output data pairs, sketches of the
user interface, bulleted lists of different steps of a user workflow or even an
Excel workbook illustrating a calculation or a report.
• All examples describe a behavior as a combination of context, action, and
outcome.
• Some examples are formulated into scenarios when a user story is ready. BDD
tools turn these scenarios into executable tests before the related behavior has been
implemented in the application itself.
11
Questions
12
BDD
User Stories | Convention
• Rachel Davies is credited with inventing:
As a [type of user]
I want [some particular feature]
so that [some benefit is received]
• Example:
As a bank customer
I want to view my current account balance
so that I know my recent deposit went through.
• Sometimes features that describe technology updates or UI changes don’t really
work with the model.
14
Behavior Driven Development
15
John Ferguson Smart, “Serenity BDD”, https://www.thucydides.info, accessed 2018-04-25. http://bddbooks.com/
BDD promotes requirements by example, collaboration, lower cost
in resolving defects, and automation in the form of business value.
16
Requirements
Tests
Examples
Become
Verify
Elaborate
Encourages Collaboration
BDD requires people to work together to create the
requirements / tests. All roles balance each other.
17
Living Documentation
Living Documentation is a form of documentation that
represents the current state of the application, which is
updated in real-time.
• Scenarios make up the living documentation, which
should be understandable by everyone.
• Scenarios should be written in domain-specific terms to
describe the behavior of the application.
18
Questions
19
Example Mapping
From a User Story to Specifications
• Before development starts, have a conversation to Clarify
and Confirm
• The Three C’s
• Card
• Conversation
• Confirmation
21
https://ronjeffries.com/xprog/articles/expcardconversationconfirmation/
Card
• User stories are written on cards.
• The card does not contain all the information in the requirement.
• The card has just enough content to identify the requirement.
• The card is a token that represents the requirement.
22
Conversation
• The conversation is an exchange of ideas and opinions.
• This conversation takes place over time: during estimation and planning
before implementation.
• The conversation is verbal and often supported by documentation. The
best supplements are examples – specifically executable examples.
23
Confirmation
• An acceptance test.
• For complex stories, confirmation using examples (and automation) is
preferred.
• The confirmation provided by the executable specification steers the
approach of card and conversation.
24
Structured Conversation
Structured Conversation is a facilitated
exchange of ideas that conform to a
predefined form.
• A structured conversation is:
• Collaborative - all attendees participate
actively
• Diverse Perspectives - all primary
areas of a team are represented
• Short – regular workshops in a time-
box so the feedback loop is quick
• Progressive Focus – capture the
progress of the workshop in real-time
• Consensus – agreed concrete examples
measure the workshop’s success
25
The Example Map by Matt Wynne
26
Question
Rule
https://speakerdeck.com/mattwynne/rules-vs-examples-bddx-london-2014
https://cucumber.io/blog/2015/12/08/example-mapping-introduction
Process
27
• The single USER STORY is written on YELLOW card and placed at the top of the map.
• The acceptance criteria as a RULE is written on a BLUE card placed below the User
Story.
• Create one or more EXAMPLES written on GREEN cards placed below each rule.
• Any QUESTION that no one in the workshop can answer is written on a RED card.
• Continue the session until a Time-box is met or everyone believes the story is
elaborated sufficiently.
Feedback
Understanding of the User Story
Question
Rule
Example
"The one
where..."
Development work is not
ready to begin
User Story might be too large
Rule might be too dense
Question
Question
Rule
Rule
Example
"The one
where..."
Example
"The one
where..."
Benefits
29
Creates a shared
understanding
Examples become
user scenarios
Rules become
acceptance
criteria
Reduces rework of large
or unclear stories
An Example Example Map
30
Present at a
Virtual
Conference
Speaker must
have a machine
capable of AV
Presentation
must be stored in
an accessible
location
Conference must
have means to
record
presentation
Lenovo ThinkPad
has a built-in
speaker /
microphone
GoTo Meeting is
valid
How do you
address hands-
on activities
virtually?
Will the
session be
live for
attendees?
Slideshare is
valid
Youtube is valid
Will the
session be
edited
afterward?
Confide is not
valid
MacBook Pro has
a built-in speaker
/ microphone
Will the recorded
presentation only
be available to
paid attendees?
A Word of Advice
Good Examples should be BRIEF:
• Business Language – enables collaboration and feedback
• Real Data – helps to discover white spots in requirements
• Intention revealing – way to describe the tests by focusing
on what we wanted to achieve and not how
• Essential – include only relevant details in the scenario
• Focused – the scenarios should illustrate a single rule only
31
Other Common Refinement Activities
• Three Amigos
• Specification Workshop
• Discovery Workshop
Whichever method is used, these activities must be done regularly!
32
Workshop Background Materials:
http://www.velocitypartners.net/blog/2014/02/11/the-3-amigos-in-agile-teams/
https://gojko.net/2008/11/12/specification-workshops-an-agile-way-to-get-better-requirements/
https://dannorth.net/2010/08/30/introducing-deliberate-discovery/
Example Mapping:
Do It Live
Example Mapping Group Activity
34
Group Activity (15-
minute time-box)
As a group, we’ll
conduct an example
mapping session with an
active User Story
We’ll review as a group
User Story Candidate
• Amazon Mobile App
• This is not intended
to be an ideal story.
35
As a user
I want to add and edit my contact
details
so I can keep it up to date
Questions
36
Resources
Resources | Quality
39
Resources | Requirements
40
Resources | Automation
41
Metrics | Percent Business Rule
Percent business rule is the percent of business rules covered with specifications
(test cases) for regression, project release, or deploy/patch validation (smoke
tests).
SPE # of business rules with specifications
PBR (%) = -------- = ---------------------------------------------------------
BR # of total business rules
PBR = Percent Business Rule
SPE = # of business rules with specifications
BR = # of total business rules
42
Metrics | Effective Automation
Effective automation is the percent of automation for an application’s regression,
project release, or deploy/patch validation (smoke tests) that can be automated
from the total number of applicable automation candidates.
ATC # of test cases automated
EA (%) = -------- = ---------------------------------------------
TC # of total candidate test cases
EA = Percent Automation
ATC = # of test cases automated
TC = # of total candidate test cases
43

More Related Content

Similar to Thomas Haver - Example Mapping.pdf

No Drama: Selecting the Right CMS for You
No Drama: Selecting the Right CMS for YouNo Drama: Selecting the Right CMS for You
No Drama: Selecting the Right CMS for YouClearPath, LLC
 
Power of define, ideate power of prototyping
Power of define, ideate power of prototypingPower of define, ideate power of prototyping
Power of define, ideate power of prototypingWisnu Dewobroto
 
Camunda Day New York 2019: Case Study. Organizing a Camunda Hackathon: Lesson...
Camunda Day New York 2019: Case Study. Organizing a Camunda Hackathon: Lesson...Camunda Day New York 2019: Case Study. Organizing a Camunda Hackathon: Lesson...
Camunda Day New York 2019: Case Study. Organizing a Camunda Hackathon: Lesson...camunda services GmbH
 
Defining the Big Picture: Modifying Contextual Design to Determine Business O...
Defining the Big Picture: Modifying Contextual Design to Determine Business O...Defining the Big Picture: Modifying Contextual Design to Determine Business O...
Defining the Big Picture: Modifying Contextual Design to Determine Business O...acq123
 
Software Product Engineering
Software Product EngineeringSoftware Product Engineering
Software Product EngineeringSagittarius
 
Interview preparation devops
Interview preparation devopsInterview preparation devops
Interview preparation devopsMallikarjuna G D
 
Applying Agile Team Management
Applying Agile Team ManagementApplying Agile Team Management
Applying Agile Team ManagementHuan Ho
 
User Stories from Scenarios
User Stories from ScenariosUser Stories from Scenarios
User Stories from ScenariosRavikanth-BA
 
Design led dev ops using double diamond
Design led dev ops using double diamondDesign led dev ops using double diamond
Design led dev ops using double diamondNitin Mittal
 
How we got everyone at MYOB hooked on UX, and how we're managing their addict...
How we got everyone at MYOB hooked on UX, and how we're managing their addict...How we got everyone at MYOB hooked on UX, and how we're managing their addict...
How we got everyone at MYOB hooked on UX, and how we're managing their addict...Megan Dell
 
Conducting User Research
Conducting User ResearchConducting User Research
Conducting User ResearchJeremy Horn
 
UX Research in an Agile World
UX Research in an Agile WorldUX Research in an Agile World
UX Research in an Agile WorldHirajaved10
 
Lecture 5 -6(CSC205).pptx jsksnxbbxjxksnsnz
Lecture 5 -6(CSC205).pptx jsksnxbbxjxksnsnzLecture 5 -6(CSC205).pptx jsksnxbbxjxksnsnz
Lecture 5 -6(CSC205).pptx jsksnxbbxjxksnsnzAhmadSajjad34
 
Req-usingDesignSprint.pdf
Req-usingDesignSprint.pdfReq-usingDesignSprint.pdf
Req-usingDesignSprint.pdfBoykepaulus1
 
Agile Framework based on PMBOK 6th Edition.pdf
Agile Framework based on PMBOK 6th Edition.pdfAgile Framework based on PMBOK 6th Edition.pdf
Agile Framework based on PMBOK 6th Edition.pdfAliAfrazAjmal
 
Software Project management
Software Project managementSoftware Project management
Software Project managementsameer farooq
 

Similar to Thomas Haver - Example Mapping.pdf (20)

No Drama: Selecting the Right CMS for You
No Drama: Selecting the Right CMS for YouNo Drama: Selecting the Right CMS for You
No Drama: Selecting the Right CMS for You
 
Jan Moons at WUD16
Jan Moons at WUD16Jan Moons at WUD16
Jan Moons at WUD16
 
Agile Technical Leadership
Agile Technical LeadershipAgile Technical Leadership
Agile Technical Leadership
 
Power of define, ideate power of prototyping
Power of define, ideate power of prototypingPower of define, ideate power of prototyping
Power of define, ideate power of prototyping
 
Camunda Day New York 2019: Case Study. Organizing a Camunda Hackathon: Lesson...
Camunda Day New York 2019: Case Study. Organizing a Camunda Hackathon: Lesson...Camunda Day New York 2019: Case Study. Organizing a Camunda Hackathon: Lesson...
Camunda Day New York 2019: Case Study. Organizing a Camunda Hackathon: Lesson...
 
Defining the Big Picture: Modifying Contextual Design to Determine Business O...
Defining the Big Picture: Modifying Contextual Design to Determine Business O...Defining the Big Picture: Modifying Contextual Design to Determine Business O...
Defining the Big Picture: Modifying Contextual Design to Determine Business O...
 
Software Product Engineering
Software Product EngineeringSoftware Product Engineering
Software Product Engineering
 
UXLX2012 User Research Hacks
UXLX2012 User Research HacksUXLX2012 User Research Hacks
UXLX2012 User Research Hacks
 
Interview preparation devops
Interview preparation devopsInterview preparation devops
Interview preparation devops
 
Applying Agile Team Management
Applying Agile Team ManagementApplying Agile Team Management
Applying Agile Team Management
 
User Stories from Scenarios
User Stories from ScenariosUser Stories from Scenarios
User Stories from Scenarios
 
Intro to Agile
Intro to AgileIntro to Agile
Intro to Agile
 
Design led dev ops using double diamond
Design led dev ops using double diamondDesign led dev ops using double diamond
Design led dev ops using double diamond
 
How we got everyone at MYOB hooked on UX, and how we're managing their addict...
How we got everyone at MYOB hooked on UX, and how we're managing their addict...How we got everyone at MYOB hooked on UX, and how we're managing their addict...
How we got everyone at MYOB hooked on UX, and how we're managing their addict...
 
Conducting User Research
Conducting User ResearchConducting User Research
Conducting User Research
 
UX Research in an Agile World
UX Research in an Agile WorldUX Research in an Agile World
UX Research in an Agile World
 
Lecture 5 -6(CSC205).pptx jsksnxbbxjxksnsnz
Lecture 5 -6(CSC205).pptx jsksnxbbxjxksnsnzLecture 5 -6(CSC205).pptx jsksnxbbxjxksnsnz
Lecture 5 -6(CSC205).pptx jsksnxbbxjxksnsnz
 
Req-usingDesignSprint.pdf
Req-usingDesignSprint.pdfReq-usingDesignSprint.pdf
Req-usingDesignSprint.pdf
 
Agile Framework based on PMBOK 6th Edition.pdf
Agile Framework based on PMBOK 6th Edition.pdfAgile Framework based on PMBOK 6th Edition.pdf
Agile Framework based on PMBOK 6th Edition.pdf
 
Software Project management
Software Project managementSoftware Project management
Software Project management
 

More from QA or the Highway

KrishnaToolComparisionPPT.pdf
KrishnaToolComparisionPPT.pdfKrishnaToolComparisionPPT.pdf
KrishnaToolComparisionPPT.pdfQA or the Highway
 
Ravi Lakkavalli - World Quality Report.pptx
Ravi Lakkavalli - World Quality Report.pptxRavi Lakkavalli - World Quality Report.pptx
Ravi Lakkavalli - World Quality Report.pptxQA or the Highway
 
Caleb Crandall - Testing Between the Buckets.pptx
Caleb Crandall - Testing Between the Buckets.pptxCaleb Crandall - Testing Between the Buckets.pptx
Caleb Crandall - Testing Between the Buckets.pptxQA or the Highway
 
Thomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdfThomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdfQA or the Highway
 
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdf
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdfJoe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdf
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdfQA or the Highway
 
Sarah Geisinger - Continious Testing Metrics That Matter.pdf
Sarah Geisinger - Continious Testing Metrics That Matter.pdfSarah Geisinger - Continious Testing Metrics That Matter.pdf
Sarah Geisinger - Continious Testing Metrics That Matter.pdfQA or the Highway
 
Jeff Sing - Quarterly Service Delivery Reviews.pdf
Jeff Sing - Quarterly Service Delivery Reviews.pdfJeff Sing - Quarterly Service Delivery Reviews.pdf
Jeff Sing - Quarterly Service Delivery Reviews.pdfQA or the Highway
 
Leandro Melendez - Chihuahua Load Tests.pdf
Leandro Melendez - Chihuahua Load Tests.pdfLeandro Melendez - Chihuahua Load Tests.pdf
Leandro Melendez - Chihuahua Load Tests.pdfQA or the Highway
 
Rick Clymer - Incident Management.pdf
Rick Clymer - Incident Management.pdfRick Clymer - Incident Management.pdf
Rick Clymer - Incident Management.pdfQA or the Highway
 
Robert Fornal - ChatGPT as a Testing Tool.pptx
Robert Fornal - ChatGPT as a Testing Tool.pptxRobert Fornal - ChatGPT as a Testing Tool.pptx
Robert Fornal - ChatGPT as a Testing Tool.pptxQA or the Highway
 
Federico Toledo - Extra-functional testing.pdf
Federico Toledo - Extra-functional testing.pdfFederico Toledo - Extra-functional testing.pdf
Federico Toledo - Extra-functional testing.pdfQA or the Highway
 
Andrew Knight - Managing the Test Data Nightmare.pptx
Andrew Knight - Managing the Test Data Nightmare.pptxAndrew Knight - Managing the Test Data Nightmare.pptx
Andrew Knight - Managing the Test Data Nightmare.pptxQA or the Highway
 
Melissa Tondi - Automation We_re Doing it Wrong.pdf
Melissa Tondi - Automation We_re Doing it Wrong.pdfMelissa Tondi - Automation We_re Doing it Wrong.pdf
Melissa Tondi - Automation We_re Doing it Wrong.pdfQA or the Highway
 
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdf
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdfJeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdf
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdfQA or the Highway
 
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptxDesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptxQA or the Highway
 
Damian Synadinos - Word Smatter.pdf
Damian Synadinos - Word Smatter.pdfDamian Synadinos - Word Smatter.pdf
Damian Synadinos - Word Smatter.pdfQA or the Highway
 
Lee Barnes - What Successful Test Automation is.pdf
Lee Barnes - What Successful Test Automation is.pdfLee Barnes - What Successful Test Automation is.pdf
Lee Barnes - What Successful Test Automation is.pdfQA or the Highway
 
Jordan Powell - API Testing with Cypress.pptx
Jordan Powell - API Testing with Cypress.pptxJordan Powell - API Testing with Cypress.pptx
Jordan Powell - API Testing with Cypress.pptxQA or the Highway
 
Carlos Kidman - Exploring AI Applications in Testing.pptx
Carlos Kidman - Exploring AI Applications in Testing.pptxCarlos Kidman - Exploring AI Applications in Testing.pptx
Carlos Kidman - Exploring AI Applications in Testing.pptxQA or the Highway
 
Ben Oconis - Breaking Down Silos.pdf
Ben Oconis - Breaking Down Silos.pdfBen Oconis - Breaking Down Silos.pdf
Ben Oconis - Breaking Down Silos.pdfQA or the Highway
 

More from QA or the Highway (20)

KrishnaToolComparisionPPT.pdf
KrishnaToolComparisionPPT.pdfKrishnaToolComparisionPPT.pdf
KrishnaToolComparisionPPT.pdf
 
Ravi Lakkavalli - World Quality Report.pptx
Ravi Lakkavalli - World Quality Report.pptxRavi Lakkavalli - World Quality Report.pptx
Ravi Lakkavalli - World Quality Report.pptx
 
Caleb Crandall - Testing Between the Buckets.pptx
Caleb Crandall - Testing Between the Buckets.pptxCaleb Crandall - Testing Between the Buckets.pptx
Caleb Crandall - Testing Between the Buckets.pptx
 
Thomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdfThomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdf
 
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdf
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdfJoe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdf
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdf
 
Sarah Geisinger - Continious Testing Metrics That Matter.pdf
Sarah Geisinger - Continious Testing Metrics That Matter.pdfSarah Geisinger - Continious Testing Metrics That Matter.pdf
Sarah Geisinger - Continious Testing Metrics That Matter.pdf
 
Jeff Sing - Quarterly Service Delivery Reviews.pdf
Jeff Sing - Quarterly Service Delivery Reviews.pdfJeff Sing - Quarterly Service Delivery Reviews.pdf
Jeff Sing - Quarterly Service Delivery Reviews.pdf
 
Leandro Melendez - Chihuahua Load Tests.pdf
Leandro Melendez - Chihuahua Load Tests.pdfLeandro Melendez - Chihuahua Load Tests.pdf
Leandro Melendez - Chihuahua Load Tests.pdf
 
Rick Clymer - Incident Management.pdf
Rick Clymer - Incident Management.pdfRick Clymer - Incident Management.pdf
Rick Clymer - Incident Management.pdf
 
Robert Fornal - ChatGPT as a Testing Tool.pptx
Robert Fornal - ChatGPT as a Testing Tool.pptxRobert Fornal - ChatGPT as a Testing Tool.pptx
Robert Fornal - ChatGPT as a Testing Tool.pptx
 
Federico Toledo - Extra-functional testing.pdf
Federico Toledo - Extra-functional testing.pdfFederico Toledo - Extra-functional testing.pdf
Federico Toledo - Extra-functional testing.pdf
 
Andrew Knight - Managing the Test Data Nightmare.pptx
Andrew Knight - Managing the Test Data Nightmare.pptxAndrew Knight - Managing the Test Data Nightmare.pptx
Andrew Knight - Managing the Test Data Nightmare.pptx
 
Melissa Tondi - Automation We_re Doing it Wrong.pdf
Melissa Tondi - Automation We_re Doing it Wrong.pdfMelissa Tondi - Automation We_re Doing it Wrong.pdf
Melissa Tondi - Automation We_re Doing it Wrong.pdf
 
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdf
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdfJeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdf
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdf
 
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptxDesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
 
Damian Synadinos - Word Smatter.pdf
Damian Synadinos - Word Smatter.pdfDamian Synadinos - Word Smatter.pdf
Damian Synadinos - Word Smatter.pdf
 
Lee Barnes - What Successful Test Automation is.pdf
Lee Barnes - What Successful Test Automation is.pdfLee Barnes - What Successful Test Automation is.pdf
Lee Barnes - What Successful Test Automation is.pdf
 
Jordan Powell - API Testing with Cypress.pptx
Jordan Powell - API Testing with Cypress.pptxJordan Powell - API Testing with Cypress.pptx
Jordan Powell - API Testing with Cypress.pptx
 
Carlos Kidman - Exploring AI Applications in Testing.pptx
Carlos Kidman - Exploring AI Applications in Testing.pptxCarlos Kidman - Exploring AI Applications in Testing.pptx
Carlos Kidman - Exploring AI Applications in Testing.pptx
 
Ben Oconis - Breaking Down Silos.pdf
Ben Oconis - Breaking Down Silos.pdfBen Oconis - Breaking Down Silos.pdf
Ben Oconis - Breaking Down Silos.pdf
 

Recently uploaded

WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2
 
WSO2Con2024 - Software Delivery in Hybrid Environments
WSO2Con2024 - Software Delivery in Hybrid EnvironmentsWSO2Con2024 - Software Delivery in Hybrid Environments
WSO2Con2024 - Software Delivery in Hybrid EnvironmentsWSO2
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAMWSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAMWSO2
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
WSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in UgandaWSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in UgandaWSO2
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 

Recently uploaded (20)

WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AI
 
WSO2Con2024 - Software Delivery in Hybrid Environments
WSO2Con2024 - Software Delivery in Hybrid EnvironmentsWSO2Con2024 - Software Delivery in Hybrid Environments
WSO2Con2024 - Software Delivery in Hybrid Environments
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAMWSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
WSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in UgandaWSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in Uganda
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 

Thomas Haver - Example Mapping.pdf

  • 1. Example Mapping The New Three Amigos
  • 3. • There will group activities • Participation in our activities is voluntary • Questions are welcome at any time 3 Ground Rules for Today
  • 4. Rules and Examples with a Blockbuster Movie
  • 5. Group Activity | Blockbuster Movie • Form teams with the people sitting closest to you. • Write three RULES for a blockbuster • Don’t share your rules with other attendees • Sample rule: “Comic Book character is featured” 5 Adapted from Matt Wynne, “Stories, Rules, and Examples.” (BDDx, 2014) As a big-time Hollywood movie executive I want to create the next blockbuster movie In order to make a lot of money
  • 6. Group Activity | Blockbuster Movie • Create three EXAMPLES that illustrate your rules 6 The movie is released on the July 4th weekend Will Smith starring alongside Aliens
  • 7. Group Activity | Blockbuster Movie • Share your EXAMPLES with another team. • Attempt to guess the other team’s rules. • Your team may create new EXAMPLES and ask the other team to confirm the examples meet the RULES. • How many examples did it take to guess the rules correctly? 7
  • 8. Group Activity | Blockbuster Movie 8 The movie is released on the July 4th weekend Robert Downey Jr is the lead actor Must release on a Holiday Must feature an established Hollywood Star Deadpool kills Ryan Reynolds before he can star in the Green Lantern The movie breaks the fourth wall
  • 9. Group Activity | Blockbuster Movie Why do we need both RULES and EXAMPLES? 9
  • 10. Use the EXAMPLES to illustrate the RULES of USER STORIES 10 Examples Rules / Acceptance Criteria User Stories
  • 11. Examples Examples • Examples can take various forms: input-output data pairs, sketches of the user interface, bulleted lists of different steps of a user workflow or even an Excel workbook illustrating a calculation or a report. • All examples describe a behavior as a combination of context, action, and outcome. • Some examples are formulated into scenarios when a user story is ready. BDD tools turn these scenarios into executable tests before the related behavior has been implemented in the application itself. 11
  • 13. BDD
  • 14. User Stories | Convention • Rachel Davies is credited with inventing: As a [type of user] I want [some particular feature] so that [some benefit is received] • Example: As a bank customer I want to view my current account balance so that I know my recent deposit went through. • Sometimes features that describe technology updates or UI changes don’t really work with the model. 14
  • 15. Behavior Driven Development 15 John Ferguson Smart, “Serenity BDD”, https://www.thucydides.info, accessed 2018-04-25. http://bddbooks.com/ BDD promotes requirements by example, collaboration, lower cost in resolving defects, and automation in the form of business value.
  • 17. Encourages Collaboration BDD requires people to work together to create the requirements / tests. All roles balance each other. 17
  • 18. Living Documentation Living Documentation is a form of documentation that represents the current state of the application, which is updated in real-time. • Scenarios make up the living documentation, which should be understandable by everyone. • Scenarios should be written in domain-specific terms to describe the behavior of the application. 18
  • 21. From a User Story to Specifications • Before development starts, have a conversation to Clarify and Confirm • The Three C’s • Card • Conversation • Confirmation 21 https://ronjeffries.com/xprog/articles/expcardconversationconfirmation/
  • 22. Card • User stories are written on cards. • The card does not contain all the information in the requirement. • The card has just enough content to identify the requirement. • The card is a token that represents the requirement. 22
  • 23. Conversation • The conversation is an exchange of ideas and opinions. • This conversation takes place over time: during estimation and planning before implementation. • The conversation is verbal and often supported by documentation. The best supplements are examples – specifically executable examples. 23
  • 24. Confirmation • An acceptance test. • For complex stories, confirmation using examples (and automation) is preferred. • The confirmation provided by the executable specification steers the approach of card and conversation. 24
  • 25. Structured Conversation Structured Conversation is a facilitated exchange of ideas that conform to a predefined form. • A structured conversation is: • Collaborative - all attendees participate actively • Diverse Perspectives - all primary areas of a team are represented • Short – regular workshops in a time- box so the feedback loop is quick • Progressive Focus – capture the progress of the workshop in real-time • Consensus – agreed concrete examples measure the workshop’s success 25
  • 26. The Example Map by Matt Wynne 26 Question Rule https://speakerdeck.com/mattwynne/rules-vs-examples-bddx-london-2014 https://cucumber.io/blog/2015/12/08/example-mapping-introduction
  • 27. Process 27 • The single USER STORY is written on YELLOW card and placed at the top of the map. • The acceptance criteria as a RULE is written on a BLUE card placed below the User Story. • Create one or more EXAMPLES written on GREEN cards placed below each rule. • Any QUESTION that no one in the workshop can answer is written on a RED card. • Continue the session until a Time-box is met or everyone believes the story is elaborated sufficiently.
  • 28. Feedback Understanding of the User Story Question Rule Example "The one where..." Development work is not ready to begin User Story might be too large Rule might be too dense Question Question Rule Rule Example "The one where..." Example "The one where..."
  • 29. Benefits 29 Creates a shared understanding Examples become user scenarios Rules become acceptance criteria Reduces rework of large or unclear stories
  • 30. An Example Example Map 30 Present at a Virtual Conference Speaker must have a machine capable of AV Presentation must be stored in an accessible location Conference must have means to record presentation Lenovo ThinkPad has a built-in speaker / microphone GoTo Meeting is valid How do you address hands- on activities virtually? Will the session be live for attendees? Slideshare is valid Youtube is valid Will the session be edited afterward? Confide is not valid MacBook Pro has a built-in speaker / microphone Will the recorded presentation only be available to paid attendees?
  • 31. A Word of Advice Good Examples should be BRIEF: • Business Language – enables collaboration and feedback • Real Data – helps to discover white spots in requirements • Intention revealing – way to describe the tests by focusing on what we wanted to achieve and not how • Essential – include only relevant details in the scenario • Focused – the scenarios should illustrate a single rule only 31
  • 32. Other Common Refinement Activities • Three Amigos • Specification Workshop • Discovery Workshop Whichever method is used, these activities must be done regularly! 32 Workshop Background Materials: http://www.velocitypartners.net/blog/2014/02/11/the-3-amigos-in-agile-teams/ https://gojko.net/2008/11/12/specification-workshops-an-agile-way-to-get-better-requirements/ https://dannorth.net/2010/08/30/introducing-deliberate-discovery/
  • 34. Example Mapping Group Activity 34 Group Activity (15- minute time-box) As a group, we’ll conduct an example mapping session with an active User Story We’ll review as a group
  • 35. User Story Candidate • Amazon Mobile App • This is not intended to be an ideal story. 35 As a user I want to add and edit my contact details so I can keep it up to date
  • 37.
  • 42. Metrics | Percent Business Rule Percent business rule is the percent of business rules covered with specifications (test cases) for regression, project release, or deploy/patch validation (smoke tests). SPE # of business rules with specifications PBR (%) = -------- = --------------------------------------------------------- BR # of total business rules PBR = Percent Business Rule SPE = # of business rules with specifications BR = # of total business rules 42
  • 43. Metrics | Effective Automation Effective automation is the percent of automation for an application’s regression, project release, or deploy/patch validation (smoke tests) that can be automated from the total number of applicable automation candidates. ATC # of test cases automated EA (%) = -------- = --------------------------------------------- TC # of total candidate test cases EA = Percent Automation ATC = # of test cases automated TC = # of total candidate test cases 43