SlideShare uma empresa Scribd logo
1 de 17
Baixar para ler 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

Mais conteúdo relacionado

Destaque

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
 

Destaque (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
 

Último

Making and Unmaking of Chandigarh - A City of Two Plans2-4-24.ppt
Making and Unmaking of Chandigarh - A City of Two Plans2-4-24.pptMaking and Unmaking of Chandigarh - A City of Two Plans2-4-24.ppt
Making and Unmaking of Chandigarh - A City of Two Plans2-4-24.pptJIT KUMAR GUPTA
 
10 must-have Chrome extensions for designers
10 must-have Chrome extensions for designers10 must-have Chrome extensions for designers
10 must-have Chrome extensions for designersPixeldarts
 
Map of St. Louis Parks
Map of St. Louis Parks                              Map of St. Louis Parks
Map of St. Louis Parks CharlottePulte
 
Karim apartment ideas 02 ppppppppppppppp
Karim apartment ideas 02 pppppppppppppppKarim apartment ideas 02 ppppppppppppppp
Karim apartment ideas 02 pppppppppppppppNadaMohammed714321
 
10 Best WordPress Plugins to make the website effective in 2024
10 Best WordPress Plugins to make the website effective in 202410 Best WordPress Plugins to make the website effective in 2024
10 Best WordPress Plugins to make the website effective in 2024digital learning point
 
Sharif's 9-BOX Monitoring Model for Adaptive Programme Management
Sharif's 9-BOX Monitoring Model for Adaptive Programme ManagementSharif's 9-BOX Monitoring Model for Adaptive Programme Management
Sharif's 9-BOX Monitoring Model for Adaptive Programme ManagementMd. Shariful Hoque
 
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDinGeneral Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDinSamar Hossam ElDin Ahmed
 
DAKSHIN BIHAR GRAMIN BANK: REDEFINING THE DIGITAL BANKING EXPERIENCE WITH A U...
DAKSHIN BIHAR GRAMIN BANK: REDEFINING THE DIGITAL BANKING EXPERIENCE WITH A U...DAKSHIN BIHAR GRAMIN BANK: REDEFINING THE DIGITAL BANKING EXPERIENCE WITH A U...
DAKSHIN BIHAR GRAMIN BANK: REDEFINING THE DIGITAL BANKING EXPERIENCE WITH A U...Rishabh Aryan
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Rndexperts
 
Piece by Piece Magazine
Piece by Piece Magazine                      Piece by Piece Magazine
Piece by Piece Magazine CharlottePulte
 
AI and Design Vol. 2: Navigating the New Frontier - Morgenbooster
AI and Design Vol. 2: Navigating the New Frontier - MorgenboosterAI and Design Vol. 2: Navigating the New Frontier - Morgenbooster
AI and Design Vol. 2: Navigating the New Frontier - Morgenbooster1508 A/S
 
NBA power point presentation final copy y
NBA power point presentation final copy yNBA power point presentation final copy y
NBA power point presentation final copy ysrajece
 
Niintendo Wii Presentation Template.pptx
Niintendo Wii Presentation Template.pptxNiintendo Wii Presentation Template.pptx
Niintendo Wii Presentation Template.pptxKevinYaelJimnezSanti
 
The spirit of digital place - game worlds and architectural phenomenology
The spirit of digital place - game worlds and architectural phenomenologyThe spirit of digital place - game worlds and architectural phenomenology
The spirit of digital place - game worlds and architectural phenomenologyChristopher Totten
 
Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...
Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...
Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...Associazione Digital Days
 
怎么办理英国Newcastle毕业证纽卡斯尔大学学位证书一手渠道
怎么办理英国Newcastle毕业证纽卡斯尔大学学位证书一手渠道怎么办理英国Newcastle毕业证纽卡斯尔大学学位证书一手渠道
怎么办理英国Newcastle毕业证纽卡斯尔大学学位证书一手渠道yrolcks
 
simpson-lee_house_dt20ajshsjsjsjsjj15.pdf
simpson-lee_house_dt20ajshsjsjsjsjj15.pdfsimpson-lee_house_dt20ajshsjsjsjsjj15.pdf
simpson-lee_house_dt20ajshsjsjsjsjj15.pdfLucyBonelli
 
Interior Design for Office a cura di RMG Project Studio
Interior Design for Office a cura di RMG Project StudioInterior Design for Office a cura di RMG Project Studio
Interior Design for Office a cura di RMG Project StudioRMG Project Studio
 
Karim apartment ideas 01 ppppppppppppppp
Karim apartment ideas 01 pppppppppppppppKarim apartment ideas 01 ppppppppppppppp
Karim apartment ideas 01 pppppppppppppppNadaMohammed714321
 
world health day 2024.pptxgbbvggvbhjjjbbbb
world health day 2024.pptxgbbvggvbhjjjbbbbworld health day 2024.pptxgbbvggvbhjjjbbbb
world health day 2024.pptxgbbvggvbhjjjbbbbpreetirao780
 

Último (20)

Making and Unmaking of Chandigarh - A City of Two Plans2-4-24.ppt
Making and Unmaking of Chandigarh - A City of Two Plans2-4-24.pptMaking and Unmaking of Chandigarh - A City of Two Plans2-4-24.ppt
Making and Unmaking of Chandigarh - A City of Two Plans2-4-24.ppt
 
10 must-have Chrome extensions for designers
10 must-have Chrome extensions for designers10 must-have Chrome extensions for designers
10 must-have Chrome extensions for designers
 
Map of St. Louis Parks
Map of St. Louis Parks                              Map of St. Louis Parks
Map of St. Louis Parks
 
Karim apartment ideas 02 ppppppppppppppp
Karim apartment ideas 02 pppppppppppppppKarim apartment ideas 02 ppppppppppppppp
Karim apartment ideas 02 ppppppppppppppp
 
10 Best WordPress Plugins to make the website effective in 2024
10 Best WordPress Plugins to make the website effective in 202410 Best WordPress Plugins to make the website effective in 2024
10 Best WordPress Plugins to make the website effective in 2024
 
Sharif's 9-BOX Monitoring Model for Adaptive Programme Management
Sharif's 9-BOX Monitoring Model for Adaptive Programme ManagementSharif's 9-BOX Monitoring Model for Adaptive Programme Management
Sharif's 9-BOX Monitoring Model for Adaptive Programme Management
 
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDinGeneral Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
 
DAKSHIN BIHAR GRAMIN BANK: REDEFINING THE DIGITAL BANKING EXPERIENCE WITH A U...
DAKSHIN BIHAR GRAMIN BANK: REDEFINING THE DIGITAL BANKING EXPERIENCE WITH A U...DAKSHIN BIHAR GRAMIN BANK: REDEFINING THE DIGITAL BANKING EXPERIENCE WITH A U...
DAKSHIN BIHAR GRAMIN BANK: REDEFINING THE DIGITAL BANKING EXPERIENCE WITH A U...
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025
 
Piece by Piece Magazine
Piece by Piece Magazine                      Piece by Piece Magazine
Piece by Piece Magazine
 
AI and Design Vol. 2: Navigating the New Frontier - Morgenbooster
AI and Design Vol. 2: Navigating the New Frontier - MorgenboosterAI and Design Vol. 2: Navigating the New Frontier - Morgenbooster
AI and Design Vol. 2: Navigating the New Frontier - Morgenbooster
 
NBA power point presentation final copy y
NBA power point presentation final copy yNBA power point presentation final copy y
NBA power point presentation final copy y
 
Niintendo Wii Presentation Template.pptx
Niintendo Wii Presentation Template.pptxNiintendo Wii Presentation Template.pptx
Niintendo Wii Presentation Template.pptx
 
The spirit of digital place - game worlds and architectural phenomenology
The spirit of digital place - game worlds and architectural phenomenologyThe spirit of digital place - game worlds and architectural phenomenology
The spirit of digital place - game worlds and architectural phenomenology
 
Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...
Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...
Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...
 
怎么办理英国Newcastle毕业证纽卡斯尔大学学位证书一手渠道
怎么办理英国Newcastle毕业证纽卡斯尔大学学位证书一手渠道怎么办理英国Newcastle毕业证纽卡斯尔大学学位证书一手渠道
怎么办理英国Newcastle毕业证纽卡斯尔大学学位证书一手渠道
 
simpson-lee_house_dt20ajshsjsjsjsjj15.pdf
simpson-lee_house_dt20ajshsjsjsjsjj15.pdfsimpson-lee_house_dt20ajshsjsjsjsjj15.pdf
simpson-lee_house_dt20ajshsjsjsjsjj15.pdf
 
Interior Design for Office a cura di RMG Project Studio
Interior Design for Office a cura di RMG Project StudioInterior Design for Office a cura di RMG Project Studio
Interior Design for Office a cura di RMG Project Studio
 
Karim apartment ideas 01 ppppppppppppppp
Karim apartment ideas 01 pppppppppppppppKarim apartment ideas 01 ppppppppppppppp
Karim apartment ideas 01 ppppppppppppppp
 
world health day 2024.pptxgbbvggvbhjjjbbbb
world health day 2024.pptxgbbvggvbhjjjbbbbworld health day 2024.pptxgbbvggvbhjjjbbbb
world health day 2024.pptxgbbvggvbhjjjbbbb
 

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