SlideShare a Scribd company logo
1 of 17
Download to read offline
A Brief Introduction to
                        Story Testing
                                              By Zee Spencer


                            LeanDog
                            AN AGILE SOFTWARE STUDIO




                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
What The Heck Is
                             Story Testing?!


                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Story Tests Are

                     • Formal Scenarios
                     • That are Collaboratively Generated
                     • Which Focus On A Specific Aspect Of an
                          Interaction



                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Formal Scenarios

                     • For a specific interaction
                     • Formats:
                      • Given/When/Then
                      • Permutation Tables

                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Given/When/Then

                     • Scenario: Buy 1 get 1 free
                      • Given a coupon which offers buy 1 get 1
                            free for a product
                          • When I buy 2 of that product
                          • Then I am only charged for 1 product

                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Given/When/Then

                     • Scenario: Incompatible Coupons
                      • Given two coupons which can’t be used
                            together
                          • When I try to use them both
                          • Then no discounts are applied to my cart

                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Given/When/Then
                     • Scenario: Using coupons together
                      • Given two coupons which can be used
                            together
                          • When I try to use them both
                          • Then both discounts are applied to my
                            cart


                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Given/When/Then

                     • Scenario: Fulfilling a coupon
                      • Given a coupon which requires you to
                            buy a drink with your meal
                          • When I just buy a meal
                          • Then I cannot use the coupon

                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Permutation Tables
                          Scenario: Applying Percentage Discounts
            Background Item Price                          Coupon Discount               Item

                                     Apple $0.50            50%off          50%           Any

                                      Pear $0.25            10%off          10%           Any

                          Tests                     Cart                    Coupon Price

                                            3xApple, 2xPear                  10%off        $1.80

                                           5xApple, 10xPear                  50%off        $2.50
                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Collaboratively
                                  Generated
                                                          User Activity
                                   Product Team
                                                            User Tasks
                                    Whole Team
                                                             User Test



                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Why?

                • A Multitude of Perspectives Drives Out
                          Uncertainty
                • Collaboratively Determining Acceptance
                          Criteria Shares Knowledge Faster Than a
                          Handoff




                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Specifically General

                • Write scenarios for the happy path
                • Write scenarios for edge cases and error
                          conditions
                • Write scenarios for performance cases

                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Let’s Practice!
                • Go to the story map nearest to you
                • Start breaking the user tasks closest to the
                          top down into scenarios
                     • Hint: There are no bad scenarios! Write
                           collaboratively!
                • In 15 minutes, we’ll reconvene and share
                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Better Scenarios
                • Keep them to 1 Given, 1 When, and 1 Then
                • Write at a user goal abstraction
                 • Don’t use “click/type/etc” You’re writing for
                           a person! not a computer!
                • Use your personas!
                • More Scenarios the merrier! Survival of the
                          Fittest!

                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Let’s Practice! (Again!)

                • Go back to the story map nearest to you
                • Write some more scenarios with your knew
                          knowledge and feedback
                • WRITE A BUNCH OF EM!
                • In 15 minutes, we’ll reconvene.

                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Some Final Secrets
                • Awesome developers can automate these
                          story tests so that they slowly turn on as
                          development continues.
                • When written well, scenarios can be used as
                          living reference documentation for your
                          application
                • Iterate and Adapt!
                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11
Some Giants Whose
                          Shoulders I Stand On
                           Patrick Wilson Welsh                    Lanette Creamer
                                                       Lisa Crispin
           Jeff “Chzy” Morgan
                                                                         Adam Goucher
                                             Robert C Martin
                  Aslak Hellesøy
                                                            Matt Heusser
                                    Mel Bugai
                                                        Angela Harms
                     By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568
Tuesday, October 11, 11

More Related Content

Viewers also liked

Introduction To Agile
Introduction To AgileIntroduction To Agile
Introduction To Agilevineet
 
Exploratory Testing
Exploratory TestingExploratory Testing
Exploratory Testingsriks7
 
Introduction to agile and Scrum
Introduction to agile and ScrumIntroduction to agile and Scrum
Introduction to agile and ScrumScrum & Kanban
 
The Role of the Scrum Master
The Role of the Scrum MasterThe Role of the Scrum Master
The Role of the Scrum MasterAgile Vietnam
 
Introduction to Agile Methods
Introduction to Agile MethodsIntroduction to Agile Methods
Introduction to Agile MethodsSiddhi
 
Holistic vs Analytical Thinking
Holistic vs Analytical ThinkingHolistic vs Analytical Thinking
Holistic vs Analytical ThinkingYaryalitsa
 
Stub Testing and Driver Testing
Stub Testing and Driver TestingStub Testing and Driver Testing
Stub Testing and Driver TestingPopescu Petre
 
Evaluating and Testing Web APIs
Evaluating and Testing Web APIsEvaluating and Testing Web APIs
Evaluating and Testing Web APIsSmartBear
 
Agile presentation
Agile presentationAgile presentation
Agile presentationinfolock
 
Overview of Agile Methodology
Overview of Agile MethodologyOverview of Agile Methodology
Overview of Agile MethodologyHaresh Karkar
 

Viewers also liked (13)

Introduction To Agile
Introduction To AgileIntroduction To Agile
Introduction To Agile
 
Exploratory Testing
Exploratory TestingExploratory Testing
Exploratory Testing
 
Introduction to agile and Scrum
Introduction to agile and ScrumIntroduction to agile and Scrum
Introduction to agile and Scrum
 
The Role of the Scrum Master
The Role of the Scrum MasterThe Role of the Scrum Master
The Role of the Scrum Master
 
Anatomy of a bug
Anatomy of a bugAnatomy of a bug
Anatomy of a bug
 
Introduction to Agile Methods
Introduction to Agile MethodsIntroduction to Agile Methods
Introduction to Agile Methods
 
Holistic vs Analytical Thinking
Holistic vs Analytical ThinkingHolistic vs Analytical Thinking
Holistic vs Analytical Thinking
 
Stub Testing and Driver Testing
Stub Testing and Driver TestingStub Testing and Driver Testing
Stub Testing and Driver Testing
 
Evaluating and Testing Web APIs
Evaluating and Testing Web APIsEvaluating and Testing Web APIs
Evaluating and Testing Web APIs
 
API Testing
API TestingAPI Testing
API Testing
 
Api testing
Api testingApi testing
Api testing
 
Agile presentation
Agile presentationAgile presentation
Agile presentation
 
Overview of Agile Methodology
Overview of Agile MethodologyOverview of Agile Methodology
Overview of Agile Methodology
 

Recently uploaded

NO1 Popular kala jadu karne wale ka contact number kala jadu karne wale baba ...
NO1 Popular kala jadu karne wale ka contact number kala jadu karne wale baba ...NO1 Popular kala jadu karne wale ka contact number kala jadu karne wale baba ...
NO1 Popular kala jadu karne wale ka contact number kala jadu karne wale baba ...Amil baba
 
Heuristic Evaluation of System & Application
Heuristic Evaluation of System & ApplicationHeuristic Evaluation of System & Application
Heuristic Evaluation of System & ApplicationJaime Brown
 
Design Portofolios - Licensed Architect / BIM Specialist
Design Portofolios - Licensed Architect / BIM SpecialistDesign Portofolios - Licensed Architect / BIM Specialist
Design Portofolios - Licensed Architect / BIM SpecialistYudistira
 
Naer VR: Advanced Research and Usability Testing Project
Naer VR: Advanced Research and Usability Testing ProjectNaer VR: Advanced Research and Usability Testing Project
Naer VR: Advanced Research and Usability Testing Projectbuvanatest
 
iF_Design_Trend_Report_twentytwenrythree
iF_Design_Trend_Report_twentytwenrythreeiF_Design_Trend_Report_twentytwenrythree
iF_Design_Trend_Report_twentytwenrythreeCarlgaming1
 
Design lessons from Singapore | Volume 3
Design lessons from Singapore | Volume 3Design lessons from Singapore | Volume 3
Design lessons from Singapore | Volume 3Remy Rey De Barros
 
FW25-26 Fashion Key Items Trend Book Peclers Paris
FW25-26 Fashion Key Items Trend Book Peclers ParisFW25-26 Fashion Key Items Trend Book Peclers Paris
FW25-26 Fashion Key Items Trend Book Peclers ParisPeclers Paris
 
CADD 141 - Puzzle Cube Project - Product Photos
CADD 141 - Puzzle Cube Project - Product PhotosCADD 141 - Puzzle Cube Project - Product Photos
CADD 141 - Puzzle Cube Project - Product PhotosDuyDo100
 
Presentation on 3D Printing.pptx presentation
Presentation on 3D Printing.pptx presentationPresentation on 3D Printing.pptx presentation
Presentation on 3D Printing.pptx presentationajroy0196
 
一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理cyebo
 
Spring 2024 wkrm_Enhancing Campus Mobility.pdf
Spring 2024 wkrm_Enhancing Campus Mobility.pdfSpring 2024 wkrm_Enhancing Campus Mobility.pdf
Spring 2024 wkrm_Enhancing Campus Mobility.pdfJon Freach
 
Latest Trends in Home and Building Design
Latest Trends in Home and Building DesignLatest Trends in Home and Building Design
Latest Trends in Home and Building DesignResDraft
 
The Journey of Fashion Designer Sketches - From Concept to Catwalk
The Journey of Fashion Designer Sketches - From Concept to CatwalkThe Journey of Fashion Designer Sketches - From Concept to Catwalk
The Journey of Fashion Designer Sketches - From Concept to CatwalkWave PLM
 
Webhost NVME Cloud VPS Hosting1234455678
Webhost NVME Cloud VPS Hosting1234455678Webhost NVME Cloud VPS Hosting1234455678
Webhost NVME Cloud VPS Hosting1234455678Cloud99 Cloud
 
spColumn-Manual design column by spcolumn software.pdf
spColumn-Manual design column by spcolumn software.pdfspColumn-Manual design column by spcolumn software.pdf
spColumn-Manual design column by spcolumn software.pdfChan Thorn
 
Bit Dhrumi shah Graphic Designer portfolio
Bit Dhrumi shah Graphic Designer portfolioBit Dhrumi shah Graphic Designer portfolio
Bit Dhrumi shah Graphic Designer portfoliodhrumibshah13
 
The Impact of Artificial Intelligence on Modern Healthcare.pptx
The Impact of Artificial Intelligence on Modern Healthcare.pptxThe Impact of Artificial Intelligence on Modern Healthcare.pptx
The Impact of Artificial Intelligence on Modern Healthcare.pptxDoraemon495609
 
BIT Khushi gandhi project.pdf graphic design
BIT Khushi gandhi project.pdf graphic designBIT Khushi gandhi project.pdf graphic design
BIT Khushi gandhi project.pdf graphic designKhushiGandhi15
 
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...JIT KUMAR GUPTA
 
Recycled Modular Low Cost Construction .pdf
Recycled Modular Low Cost Construction .pdfRecycled Modular Low Cost Construction .pdf
Recycled Modular Low Cost Construction .pdfjeffreycarroll14
 

Recently uploaded (20)

NO1 Popular kala jadu karne wale ka contact number kala jadu karne wale baba ...
NO1 Popular kala jadu karne wale ka contact number kala jadu karne wale baba ...NO1 Popular kala jadu karne wale ka contact number kala jadu karne wale baba ...
NO1 Popular kala jadu karne wale ka contact number kala jadu karne wale baba ...
 
Heuristic Evaluation of System & Application
Heuristic Evaluation of System & ApplicationHeuristic Evaluation of System & Application
Heuristic Evaluation of System & Application
 
Design Portofolios - Licensed Architect / BIM Specialist
Design Portofolios - Licensed Architect / BIM SpecialistDesign Portofolios - Licensed Architect / BIM Specialist
Design Portofolios - Licensed Architect / BIM Specialist
 
Naer VR: Advanced Research and Usability Testing Project
Naer VR: Advanced Research and Usability Testing ProjectNaer VR: Advanced Research and Usability Testing Project
Naer VR: Advanced Research and Usability Testing Project
 
iF_Design_Trend_Report_twentytwenrythree
iF_Design_Trend_Report_twentytwenrythreeiF_Design_Trend_Report_twentytwenrythree
iF_Design_Trend_Report_twentytwenrythree
 
Design lessons from Singapore | Volume 3
Design lessons from Singapore | Volume 3Design lessons from Singapore | Volume 3
Design lessons from Singapore | Volume 3
 
FW25-26 Fashion Key Items Trend Book Peclers Paris
FW25-26 Fashion Key Items Trend Book Peclers ParisFW25-26 Fashion Key Items Trend Book Peclers Paris
FW25-26 Fashion Key Items Trend Book Peclers Paris
 
CADD 141 - Puzzle Cube Project - Product Photos
CADD 141 - Puzzle Cube Project - Product PhotosCADD 141 - Puzzle Cube Project - Product Photos
CADD 141 - Puzzle Cube Project - Product Photos
 
Presentation on 3D Printing.pptx presentation
Presentation on 3D Printing.pptx presentationPresentation on 3D Printing.pptx presentation
Presentation on 3D Printing.pptx presentation
 
一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理
 
Spring 2024 wkrm_Enhancing Campus Mobility.pdf
Spring 2024 wkrm_Enhancing Campus Mobility.pdfSpring 2024 wkrm_Enhancing Campus Mobility.pdf
Spring 2024 wkrm_Enhancing Campus Mobility.pdf
 
Latest Trends in Home and Building Design
Latest Trends in Home and Building DesignLatest Trends in Home and Building Design
Latest Trends in Home and Building Design
 
The Journey of Fashion Designer Sketches - From Concept to Catwalk
The Journey of Fashion Designer Sketches - From Concept to CatwalkThe Journey of Fashion Designer Sketches - From Concept to Catwalk
The Journey of Fashion Designer Sketches - From Concept to Catwalk
 
Webhost NVME Cloud VPS Hosting1234455678
Webhost NVME Cloud VPS Hosting1234455678Webhost NVME Cloud VPS Hosting1234455678
Webhost NVME Cloud VPS Hosting1234455678
 
spColumn-Manual design column by spcolumn software.pdf
spColumn-Manual design column by spcolumn software.pdfspColumn-Manual design column by spcolumn software.pdf
spColumn-Manual design column by spcolumn software.pdf
 
Bit Dhrumi shah Graphic Designer portfolio
Bit Dhrumi shah Graphic Designer portfolioBit Dhrumi shah Graphic Designer portfolio
Bit Dhrumi shah Graphic Designer portfolio
 
The Impact of Artificial Intelligence on Modern Healthcare.pptx
The Impact of Artificial Intelligence on Modern Healthcare.pptxThe Impact of Artificial Intelligence on Modern Healthcare.pptx
The Impact of Artificial Intelligence on Modern Healthcare.pptx
 
BIT Khushi gandhi project.pdf graphic design
BIT Khushi gandhi project.pdf graphic designBIT Khushi gandhi project.pdf graphic design
BIT Khushi gandhi project.pdf graphic design
 
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
 
Recycled Modular Low Cost Construction .pdf
Recycled Modular Low Cost Construction .pdfRecycled Modular Low Cost Construction .pdf
Recycled Modular Low Cost Construction .pdf
 

A (Brief) Introduction to Story Testing

  • 1. A Brief Introduction to Story Testing By Zee Spencer LeanDog AN AGILE SOFTWARE STUDIO By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 2. What The Heck Is Story Testing?! By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 3. Story Tests Are • Formal Scenarios • That are Collaboratively Generated • Which Focus On A Specific Aspect Of an Interaction By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 4. Formal Scenarios • For a specific interaction • Formats: • Given/When/Then • Permutation Tables By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 5. Given/When/Then • Scenario: Buy 1 get 1 free • Given a coupon which offers buy 1 get 1 free for a product • When I buy 2 of that product • Then I am only charged for 1 product By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 6. Given/When/Then • Scenario: Incompatible Coupons • Given two coupons which can’t be used together • When I try to use them both • Then no discounts are applied to my cart By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 7. Given/When/Then • Scenario: Using coupons together • Given two coupons which can be used together • When I try to use them both • Then both discounts are applied to my cart By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 8. Given/When/Then • Scenario: Fulfilling a coupon • Given a coupon which requires you to buy a drink with your meal • When I just buy a meal • Then I cannot use the coupon By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 9. Permutation Tables Scenario: Applying Percentage Discounts Background Item Price Coupon Discount Item Apple $0.50 50%off 50% Any Pear $0.25 10%off 10% Any Tests Cart Coupon Price 3xApple, 2xPear 10%off $1.80 5xApple, 10xPear 50%off $2.50 By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 10. Collaboratively Generated User Activity Product Team User Tasks Whole Team User Test By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 11. Why? • A Multitude of Perspectives Drives Out Uncertainty • Collaboratively Determining Acceptance Criteria Shares Knowledge Faster Than a Handoff By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 12. Specifically General • Write scenarios for the happy path • Write scenarios for edge cases and error conditions • Write scenarios for performance cases By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 13. Let’s Practice! • Go to the story map nearest to you • Start breaking the user tasks closest to the top down into scenarios • Hint: There are no bad scenarios! Write collaboratively! • In 15 minutes, we’ll reconvene and share By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 14. Better Scenarios • Keep them to 1 Given, 1 When, and 1 Then • Write at a user goal abstraction • Don’t use “click/type/etc” You’re writing for a person! not a computer! • Use your personas! • More Scenarios the merrier! Survival of the Fittest! By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 15. Let’s Practice! (Again!) • Go back to the story map nearest to you • Write some more scenarios with your knew knowledge and feedback • WRITE A BUNCH OF EM! • In 15 minutes, we’ll reconvene. By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 16. Some Final Secrets • Awesome developers can automate these story tests so that they slowly turn on as development continues. • When written well, scenarios can be used as living reference documentation for your application • Iterate and Adapt! By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11
  • 17. Some Giants Whose Shoulders I Stand On Patrick Wilson Welsh Lanette Creamer Lisa Crispin Jeff “Chzy” Morgan Adam Goucher Robert C Martin Aslak Hellesøy Matt Heusser Mel Bugai Angela Harms By @zspencer from @leandog. Download materials at http://spkr8.com/t/8568 Tuesday, October 11, 11