SlideShare una empresa de Scribd logo
1 de 17
Descargar para leer sin conexión
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

Más contenido relacionado

Destacado

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
 

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

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Availabledollysharma2066
 
➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men 🔝jhansi🔝 Escorts S...
➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men  🔝jhansi🔝   Escorts S...➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men  🔝jhansi🔝   Escorts S...
➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men 🔝jhansi🔝 Escorts S...amitlee9823
 
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...SUHANI PANDEY
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...amitlee9823
 
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...sonalitrivedi431
 
➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men 🔝dharamshala🔝 ...
➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men  🔝dharamshala🔝  ...➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men  🔝dharamshala🔝  ...
➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men 🔝dharamshala🔝 ...amitlee9823
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...amitlee9823
 
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...kumaririma588
 
Hingoli ❤CALL GIRL 8617370543 ❤CALL GIRLS IN Hingoli ESCORT SERVICE❤CALL GIRL
Hingoli ❤CALL GIRL 8617370543 ❤CALL GIRLS IN Hingoli ESCORT SERVICE❤CALL GIRLHingoli ❤CALL GIRL 8617370543 ❤CALL GIRLS IN Hingoli ESCORT SERVICE❤CALL GIRL
Hingoli ❤CALL GIRL 8617370543 ❤CALL GIRLS IN Hingoli ESCORT SERVICE❤CALL GIRLNitya salvi
 
Hire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls AgencyHire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls AgencyNitya salvi
 
ab-initio-training basics and architecture
ab-initio-training basics and architectureab-initio-training basics and architecture
ab-initio-training basics and architecturesaipriyacoool
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Call Girls Jalgaon Just Call 8617370543Top Class Call Girl Service Available
Call Girls Jalgaon Just Call 8617370543Top Class Call Girl Service AvailableCall Girls Jalgaon Just Call 8617370543Top Class Call Girl Service Available
Call Girls Jalgaon Just Call 8617370543Top Class Call Girl Service AvailableNitya salvi
 
The hottest UI and UX Design Trends 2024
The hottest UI and UX Design Trends 2024The hottest UI and UX Design Trends 2024
The hottest UI and UX Design Trends 2024Ilham Brata
 

Último (20)

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman MuscatAbortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
 
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
 
➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men 🔝jhansi🔝 Escorts S...
➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men  🔝jhansi🔝   Escorts S...➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men  🔝jhansi🔝   Escorts S...
➥🔝 7737669865 🔝▻ jhansi Call-girls in Women Seeking Men 🔝jhansi🔝 Escorts S...
 
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
 
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
 
➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men 🔝dharamshala🔝 ...
➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men  🔝dharamshala🔝  ...➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men  🔝dharamshala🔝  ...
➥🔝 7737669865 🔝▻ dharamshala Call-girls in Women Seeking Men 🔝dharamshala🔝 ...
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
 
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
 
Hingoli ❤CALL GIRL 8617370543 ❤CALL GIRLS IN Hingoli ESCORT SERVICE❤CALL GIRL
Hingoli ❤CALL GIRL 8617370543 ❤CALL GIRLS IN Hingoli ESCORT SERVICE❤CALL GIRLHingoli ❤CALL GIRL 8617370543 ❤CALL GIRLS IN Hingoli ESCORT SERVICE❤CALL GIRL
Hingoli ❤CALL GIRL 8617370543 ❤CALL GIRLS IN Hingoli ESCORT SERVICE❤CALL GIRL
 
Hire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls AgencyHire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
 
ab-initio-training basics and architecture
ab-initio-training basics and architectureab-initio-training basics and architecture
ab-initio-training basics and architecture
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Call Girls Jalgaon Just Call 8617370543Top Class Call Girl Service Available
Call Girls Jalgaon Just Call 8617370543Top Class Call Girl Service AvailableCall Girls Jalgaon Just Call 8617370543Top Class Call Girl Service Available
Call Girls Jalgaon Just Call 8617370543Top Class Call Girl Service Available
 
The hottest UI and UX Design Trends 2024
The hottest UI and UX Design Trends 2024The hottest UI and UX Design Trends 2024
The hottest UI and UX Design Trends 2024
 

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