SlideShare a Scribd company logo
1 of 15
EXAMPLE MAPPING
Raj Indugula
Outline
What is Example
Mapping?
(15-20 min)
01
Experience
Example
Mapping
(15 min)
02
Wrap-up
Q&A
(10 min)
03
2
Have you seen…
• Questions come up in the middle of implementing a story?
• Questions come up while testing an implemented feature?
• Developers and Testers interpret a requirement differently?
3
Are we ready to
implement?
• Backlog refinement
• Three Amigos
• Planning session
“The speed of development is the speed of getting
an idea from one brain to another”
– Alistair Cockburn
4
What is Example Mapping?
• Structured, collaborative
conversation to discover
essential requirements
and identify uncertainty
• Rules & Examples to
illustrate desired behavior
before pulling story into
development
• Discovered and
popularized by Matt
Wynne
User Story
Rules
Abstract descriptions of how things
should work
Examples
Actual scenarios of things working
as they should
Executable Examples
Ready to automate
If reader buys
three books, the
cheapest of the
three should be
free
Cart $10, $15,
$5
Checkout
Total $26.50
5
Example Map - Essentials
User Story under discussion
Rules to satisfy story, or express other
constraints about the story scope
Concrete examples that
illustrate a rule
User
Story
Rule Rule Rule
Example
Example
ExampleExample
Example
Question
QuestionQuestions about scenarios where we
don’t know the right outcome
Acceptance
Criteria
Acceptance
Scenarios
6
…password that is
not easy to crack
Minimum of 8
characters
Alphanumeric with at least
one special character
foobar
Invalid – Too short
f00bargobble!
Shouldn’t we require a mix of
uppercase and lowercase?
The case where…
No number
No letter
No special character
7
Let’s build an Example Map!
…password that is
not easy to crack
f00bargobble!
Invalid – not mixed Shouldn’t we require a mix of
uppercase and lowercase?
Alphanumeric, mixed case,
with at least one special
character
F00bargobble!
Is there a
maximum length
constraint? 1AaaaaaaA!
What about this scenario? Is
this valid?
8
…password that is
not easy to crack
Shouldn’t we require a mix of
uppercase and lowercase?
1AaaaaaaA!
Invalid - repeating
Repeating pattern
(Less than 3
consecutive)
1AaByzdbAxt!
Are dictionary words
allowed?
What about reusing old
passwords?
9
Step Back & Reflect
…password that is
not easy to crack
Minimum of 8
characters
foobar
Invalid – Too short
f00bargobble!
Invalid – not mixed
Alphanumeric, mixed case,
with at least one special
character
F00bargobble!
Is there a
maximum length
constraint?
1AaaaaaaA!
Invalid - repeating
Repeating pattern
(Less than 3
consecutive)
1AaByzdbAxt!
What about
dictionary
words?
password history
policy
The case where…
No number
No letter
No special character
10
Build Your Example Map
• Pick a story
• Invite a small group with multiple
perspectives
• Time-box the session
• Pick a facilitator
• Bring supplies (4-colored index cards,
sharpies, flipcharts, timer)
Rule Rule Rule
Story
Example
Example
Example
Question
11
ATM User Story Backlog
1.
…deposit funds into my
account
Are there limits on amounts?
Number of deposits?
2.
…withdraw funds from my
account
Are there withdrawal limits?
What denominations?
3.
…transfer funds between my
primary and savings account
Any limits? Minimum balance?
Is transfer immediate?
4.
…setup my savings account to
automatically cover overdrafts
from my checking account
What if I don’t opt in?
What if savings is overdrawn?
5.
…make third-party payments
One-time or on-schedule?
12
Rule Rule Rule
Story
Example
Example
Example
Question
Question
New
Story
Where
does it
fit?
Scenario: Invalid example
Given I am a new user
When I select "Abc1*$!-**" as a password
Then I can access my account
Source Adaptation: George Dinwiddie & Raj Indugula
Scenario: Valid example
Given I am a new user
When I select "Abc1*$!-**" as a password
Then I can access my account
13
Example Mapping helps…
Focus on smallest pieces of behavior
Discover what you don’t know
Fill in the gaps (remove ambiguity)
Drive out implicit requirements
Break stories into manageable chunks
Move conversations quicker
Provide basis for automated tests
14
If you want to learn more…
Matt Wynne - Introducing Example Mapping
https://cucumber.io/blog/2015/12/08/example-
mapping-introduction
Aslak Hellesøy - Example Mapping
https://www.youtube.com/watch?v=VwvrGfWm
G_U
15
Raj Indugula
raj.indugula@lithespeed.com
@lithespeed, @raj_indugula

More Related Content

Similar to Yo! What’s The Scenario?

Agile Tips - All about stories
Agile Tips - All about storiesAgile Tips - All about stories
Agile Tips - All about storiesMikhail Dikov
 
Xp 2016 superchargeyourproductbacklogwithuserstories-suzannelaz
Xp 2016 superchargeyourproductbacklogwithuserstories-suzannelazXp 2016 superchargeyourproductbacklogwithuserstories-suzannelaz
Xp 2016 superchargeyourproductbacklogwithuserstories-suzannelazLaz Allen
 
What if Scrum had no Rules?
What if Scrum had no Rules?What if Scrum had no Rules?
What if Scrum had no Rules?Peter Stevens
 
User Story Splitting.pptx
User Story Splitting.pptxUser Story Splitting.pptx
User Story Splitting.pptxPaul Boos
 
Building Better Models Faster Using Active Learning
Building Better Models Faster Using Active LearningBuilding Better Models Faster Using Active Learning
Building Better Models Faster Using Active LearningCrowdFlower
 
CFP workshop
CFP workshopCFP workshop
CFP workshopAmit Zur
 
Sketching&storyboarding
Sketching&storyboardingSketching&storyboarding
Sketching&storyboardingPriyanka Rana
 
Using critical thinking to crack case based interviews
Using critical thinking to crack case based interviewsUsing critical thinking to crack case based interviews
Using critical thinking to crack case based interviewspritiagarwal
 
How to Prepare for and Survive a Technical Interview
How to Prepare for and Survive a Technical InterviewHow to Prepare for and Survive a Technical Interview
How to Prepare for and Survive a Technical InterviewPerl Careers
 
Using AI chatbots for deep learning and teaching with specific examples to en...
Using AI chatbots for deep learning and teaching with specific examples to en...Using AI chatbots for deep learning and teaching with specific examples to en...
Using AI chatbots for deep learning and teaching with specific examples to en...Nigel Daly
 
How to talk to your generative AI r2.pptx
How to talk to your generative AI r2.pptxHow to talk to your generative AI r2.pptx
How to talk to your generative AI r2.pptxLERNER Consulting
 
Machine Learning Lecture 3 Decision Trees
Machine Learning Lecture 3 Decision TreesMachine Learning Lecture 3 Decision Trees
Machine Learning Lecture 3 Decision Treesananth
 
It's Not Just About Code
It's Not Just About CodeIt's Not Just About Code
It's Not Just About CodeDan Pickett
 
Agents of Agile: The Art of User Splitting Stories
Agents of Agile: The Art of User Splitting StoriesAgents of Agile: The Art of User Splitting Stories
Agents of Agile: The Art of User Splitting StoriesStephanie Groot
 

Similar to Yo! What’s The Scenario? (20)

Agile Tips - All about stories
Agile Tips - All about storiesAgile Tips - All about stories
Agile Tips - All about stories
 
Xp 2016 superchargeyourproductbacklogwithuserstories-suzannelaz
Xp 2016 superchargeyourproductbacklogwithuserstories-suzannelazXp 2016 superchargeyourproductbacklogwithuserstories-suzannelaz
Xp 2016 superchargeyourproductbacklogwithuserstories-suzannelaz
 
What if Scrum had no Rules?
What if Scrum had no Rules?What if Scrum had no Rules?
What if Scrum had no Rules?
 
User Story Splitting.pptx
User Story Splitting.pptxUser Story Splitting.pptx
User Story Splitting.pptx
 
Building Better Models Faster Using Active Learning
Building Better Models Faster Using Active LearningBuilding Better Models Faster Using Active Learning
Building Better Models Faster Using Active Learning
 
Packing and Unpacking the Bag of Words: Introducing a Toolkit for Inductive A...
Packing and Unpacking the Bag of Words: Introducing a Toolkit for Inductive A...Packing and Unpacking the Bag of Words: Introducing a Toolkit for Inductive A...
Packing and Unpacking the Bag of Words: Introducing a Toolkit for Inductive A...
 
CFP workshop
CFP workshopCFP workshop
CFP workshop
 
Sketching&storyboarding
Sketching&storyboardingSketching&storyboarding
Sketching&storyboarding
 
Using critical thinking to crack case based interviews
Using critical thinking to crack case based interviewsUsing critical thinking to crack case based interviews
Using critical thinking to crack case based interviews
 
How to Prepare for and Survive a Technical Interview
How to Prepare for and Survive a Technical InterviewHow to Prepare for and Survive a Technical Interview
How to Prepare for and Survive a Technical Interview
 
group7-Chatbots.ppt
group7-Chatbots.pptgroup7-Chatbots.ppt
group7-Chatbots.ppt
 
group7-Chatbots.ppt
group7-Chatbots.pptgroup7-Chatbots.ppt
group7-Chatbots.ppt
 
group7-Chatbots.ppt
group7-Chatbots.pptgroup7-Chatbots.ppt
group7-Chatbots.ppt
 
Using AI chatbots for deep learning and teaching with specific examples to en...
Using AI chatbots for deep learning and teaching with specific examples to en...Using AI chatbots for deep learning and teaching with specific examples to en...
Using AI chatbots for deep learning and teaching with specific examples to en...
 
ai4.ppt
ai4.pptai4.ppt
ai4.ppt
 
How to talk to your generative AI r2.pptx
How to talk to your generative AI r2.pptxHow to talk to your generative AI r2.pptx
How to talk to your generative AI r2.pptx
 
Machine Learning Lecture 3 Decision Trees
Machine Learning Lecture 3 Decision TreesMachine Learning Lecture 3 Decision Trees
Machine Learning Lecture 3 Decision Trees
 
It's Not Just About Code
It's Not Just About CodeIt's Not Just About Code
It's Not Just About Code
 
Chatbots.pptx
Chatbots.pptxChatbots.pptx
Chatbots.pptx
 
Agents of Agile: The Art of User Splitting Stories
Agents of Agile: The Art of User Splitting StoriesAgents of Agile: The Art of User Splitting Stories
Agents of Agile: The Art of User Splitting Stories
 

More from Raj Indugula

To Deliver, Discover We Must - A value-driven approach to agile planning
To Deliver, Discover We Must - A value-driven approach to agile planningTo Deliver, Discover We Must - A value-driven approach to agile planning
To Deliver, Discover We Must - A value-driven approach to agile planningRaj Indugula
 
Being Test-Driven: It's not really about testing
Being Test-Driven: It's not really about testingBeing Test-Driven: It's not really about testing
Being Test-Driven: It's not really about testingRaj Indugula
 
Be Ready, Be Done: The Art of Slicing Stories
Be Ready, Be Done: The Art of Slicing StoriesBe Ready, Be Done: The Art of Slicing Stories
Be Ready, Be Done: The Art of Slicing StoriesRaj Indugula
 
What's Measured Improves: Metrics that matter
What's Measured Improves: Metrics that matterWhat's Measured Improves: Metrics that matter
What's Measured Improves: Metrics that matterRaj Indugula
 
Dare to Explore: Discover ET!
Dare to Explore: Discover ET!Dare to Explore: Discover ET!
Dare to Explore: Discover ET!Raj Indugula
 
Leanstartuptoolsforproductowners
LeanstartuptoolsforproductownersLeanstartuptoolsforproductowners
LeanstartuptoolsforproductownersRaj Indugula
 
Effective Testing Practices in an Agile Environment
Effective Testing Practices in an Agile EnvironmentEffective Testing Practices in an Agile Environment
Effective Testing Practices in an Agile EnvironmentRaj Indugula
 

More from Raj Indugula (8)

To Deliver, Discover We Must - A value-driven approach to agile planning
To Deliver, Discover We Must - A value-driven approach to agile planningTo Deliver, Discover We Must - A value-driven approach to agile planning
To Deliver, Discover We Must - A value-driven approach to agile planning
 
Being Test-Driven: It's not really about testing
Being Test-Driven: It's not really about testingBeing Test-Driven: It's not really about testing
Being Test-Driven: It's not really about testing
 
Be Ready, Be Done: The Art of Slicing Stories
Be Ready, Be Done: The Art of Slicing StoriesBe Ready, Be Done: The Art of Slicing Stories
Be Ready, Be Done: The Art of Slicing Stories
 
What's Measured Improves: Metrics that matter
What's Measured Improves: Metrics that matterWhat's Measured Improves: Metrics that matter
What's Measured Improves: Metrics that matter
 
Dare to Explore: Discover ET!
Dare to Explore: Discover ET!Dare to Explore: Discover ET!
Dare to Explore: Discover ET!
 
Leanstartuptoolsforproductowners
LeanstartuptoolsforproductownersLeanstartuptoolsforproductowners
Leanstartuptoolsforproductowners
 
Agile testing
Agile testingAgile testing
Agile testing
 
Effective Testing Practices in an Agile Environment
Effective Testing Practices in an Agile EnvironmentEffective Testing Practices in an Agile Environment
Effective Testing Practices in an Agile Environment
 

Recently uploaded

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 

Recently uploaded (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 

Yo! What’s The Scenario?

  • 2. Outline What is Example Mapping? (15-20 min) 01 Experience Example Mapping (15 min) 02 Wrap-up Q&A (10 min) 03 2
  • 3. Have you seen… • Questions come up in the middle of implementing a story? • Questions come up while testing an implemented feature? • Developers and Testers interpret a requirement differently? 3
  • 4. Are we ready to implement? • Backlog refinement • Three Amigos • Planning session “The speed of development is the speed of getting an idea from one brain to another” – Alistair Cockburn 4
  • 5. What is Example Mapping? • Structured, collaborative conversation to discover essential requirements and identify uncertainty • Rules & Examples to illustrate desired behavior before pulling story into development • Discovered and popularized by Matt Wynne User Story Rules Abstract descriptions of how things should work Examples Actual scenarios of things working as they should Executable Examples Ready to automate If reader buys three books, the cheapest of the three should be free Cart $10, $15, $5 Checkout Total $26.50 5
  • 6. Example Map - Essentials User Story under discussion Rules to satisfy story, or express other constraints about the story scope Concrete examples that illustrate a rule User Story Rule Rule Rule Example Example ExampleExample Example Question QuestionQuestions about scenarios where we don’t know the right outcome Acceptance Criteria Acceptance Scenarios 6
  • 7. …password that is not easy to crack Minimum of 8 characters Alphanumeric with at least one special character foobar Invalid – Too short f00bargobble! Shouldn’t we require a mix of uppercase and lowercase? The case where… No number No letter No special character 7 Let’s build an Example Map!
  • 8. …password that is not easy to crack f00bargobble! Invalid – not mixed Shouldn’t we require a mix of uppercase and lowercase? Alphanumeric, mixed case, with at least one special character F00bargobble! Is there a maximum length constraint? 1AaaaaaaA! What about this scenario? Is this valid? 8
  • 9. …password that is not easy to crack Shouldn’t we require a mix of uppercase and lowercase? 1AaaaaaaA! Invalid - repeating Repeating pattern (Less than 3 consecutive) 1AaByzdbAxt! Are dictionary words allowed? What about reusing old passwords? 9
  • 10. Step Back & Reflect …password that is not easy to crack Minimum of 8 characters foobar Invalid – Too short f00bargobble! Invalid – not mixed Alphanumeric, mixed case, with at least one special character F00bargobble! Is there a maximum length constraint? 1AaaaaaaA! Invalid - repeating Repeating pattern (Less than 3 consecutive) 1AaByzdbAxt! What about dictionary words? password history policy The case where… No number No letter No special character 10
  • 11. Build Your Example Map • Pick a story • Invite a small group with multiple perspectives • Time-box the session • Pick a facilitator • Bring supplies (4-colored index cards, sharpies, flipcharts, timer) Rule Rule Rule Story Example Example Example Question 11
  • 12. ATM User Story Backlog 1. …deposit funds into my account Are there limits on amounts? Number of deposits? 2. …withdraw funds from my account Are there withdrawal limits? What denominations? 3. …transfer funds between my primary and savings account Any limits? Minimum balance? Is transfer immediate? 4. …setup my savings account to automatically cover overdrafts from my checking account What if I don’t opt in? What if savings is overdrawn? 5. …make third-party payments One-time or on-schedule? 12 Rule Rule Rule Story Example Example Example Question Question New Story
  • 13. Where does it fit? Scenario: Invalid example Given I am a new user When I select "Abc1*$!-**" as a password Then I can access my account Source Adaptation: George Dinwiddie & Raj Indugula Scenario: Valid example Given I am a new user When I select "Abc1*$!-**" as a password Then I can access my account 13
  • 14. Example Mapping helps… Focus on smallest pieces of behavior Discover what you don’t know Fill in the gaps (remove ambiguity) Drive out implicit requirements Break stories into manageable chunks Move conversations quicker Provide basis for automated tests 14
  • 15. If you want to learn more… Matt Wynne - Introducing Example Mapping https://cucumber.io/blog/2015/12/08/example- mapping-introduction Aslak Hellesøy - Example Mapping https://www.youtube.com/watch?v=VwvrGfWm G_U 15 Raj Indugula raj.indugula@lithespeed.com @lithespeed, @raj_indugula