SlideShare une entreprise Scribd logo
1  sur  17
Télécharger pour lire hors ligne
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

Contenu connexe

En vedette

Evaluating and Testing Web APIs
Evaluating and Testing Web APIsEvaluating and Testing Web APIs
Evaluating and Testing Web APIs
SmartBear
 
Agile presentation
Agile presentationAgile presentation
Agile presentation
infolock
 
Overview of Agile Methodology
Overview of Agile MethodologyOverview of Agile Methodology
Overview of Agile Methodology
Haresh Karkar
 

En vedette (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
 

Dernier

Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
gajnagarg
 
➥🔝 7737669865 🔝▻ dehradun Call-girls in Women Seeking Men 🔝dehradun🔝 Escor...
➥🔝 7737669865 🔝▻ dehradun Call-girls in Women Seeking Men  🔝dehradun🔝   Escor...➥🔝 7737669865 🔝▻ dehradun Call-girls in Women Seeking Men  🔝dehradun🔝   Escor...
➥🔝 7737669865 🔝▻ dehradun Call-girls in Women Seeking Men 🔝dehradun🔝 Escor...
amitlee9823
 
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
eeanqy
 
➥🔝 7737669865 🔝▻ Bokaro Call-girls in Women Seeking Men 🔝Bokaro🔝 Escorts S...
➥🔝 7737669865 🔝▻ Bokaro Call-girls in Women Seeking Men  🔝Bokaro🔝   Escorts S...➥🔝 7737669865 🔝▻ Bokaro Call-girls in Women Seeking Men  🔝Bokaro🔝   Escorts S...
➥🔝 7737669865 🔝▻ Bokaro Call-girls in Women Seeking Men 🔝Bokaro🔝 Escorts S...
amitlee9823
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
amitlee9823
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation deck
tbatkhuu1
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
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
 
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
 

Dernier (20)

Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
 
➥🔝 7737669865 🔝▻ dehradun Call-girls in Women Seeking Men 🔝dehradun🔝 Escor...
➥🔝 7737669865 🔝▻ dehradun Call-girls in Women Seeking Men  🔝dehradun🔝   Escor...➥🔝 7737669865 🔝▻ dehradun Call-girls in Women Seeking Men  🔝dehradun🔝   Escor...
➥🔝 7737669865 🔝▻ dehradun Call-girls in Women Seeking Men 🔝dehradun🔝 Escor...
 
Sweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptxSweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptx
 
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
 
➥🔝 7737669865 🔝▻ Bokaro Call-girls in Women Seeking Men 🔝Bokaro🔝 Escorts S...
➥🔝 7737669865 🔝▻ Bokaro Call-girls in Women Seeking Men  🔝Bokaro🔝   Escorts S...➥🔝 7737669865 🔝▻ Bokaro Call-girls in Women Seeking Men  🔝Bokaro🔝   Escorts S...
➥🔝 7737669865 🔝▻ Bokaro Call-girls in Women Seeking Men 🔝Bokaro🔝 Escorts S...
 
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
 
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
 
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdfJordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation deck
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
 
Just Call Vip call girls Nagpur Escorts ☎️8617370543 Starting From 5K to 25K ...
Just Call Vip call girls Nagpur Escorts ☎️8617370543 Starting From 5K to 25K ...Just Call Vip call girls Nagpur Escorts ☎️8617370543 Starting From 5K to 25K ...
Just Call Vip call girls Nagpur Escorts ☎️8617370543 Starting From 5K to 25K ...
 
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
 
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...
 
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)
 
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 ...
 
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
 
WhatsApp Chat: 📞 8617697112 Call Girl Baran is experienced
WhatsApp Chat: 📞 8617697112 Call Girl Baran is experiencedWhatsApp Chat: 📞 8617697112 Call Girl Baran is experienced
WhatsApp Chat: 📞 8617697112 Call Girl Baran is experienced
 
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
 

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