SlideShare une entreprise Scribd logo
1  sur  19
Télécharger pour lire hors ligne
Q




          Better Story Testing
    Through Dev-Tester Pairing
                                      Abby Fichtner & Dawn Cannan,
                                                   ,
                                       Hacker Chick Passionate Tester

                                           Agile 2010 – August 9 2010
                                                                ,




g   This presentation is licensed under a Creative Commons Attribution-Share Alike 3.0 License   q
2


                             Why Pair Devs & Testers
                                                   ?


                                  Figure out how to make stuff without
                                        defects in the first place
Abby Fichtner, Dawn Cannan




                                                   - Mary Poppendieck, Google Tech Talks, 12/2006
3



                                          d Agile: The Happy Path d
                                                                    Release!

                            Iteration 1     Iteration 2   Iteration 3




                                                                         ...   E
Abby Fichtner, Nate Oster
4



                                  F Agile: The Not So Happy Path F
                                Oops, we ran out of
                                   time to test!

                            Iteration 1       Iteration 2       Iteration 3
                                                                              X
                                                                           Release!                   Actual
                                                                                                      Release




                            R     Code        Test

                                              R       Code       Test

                                                                 R   Code       Test       Bug Fix
Abby Fichtner, Nate Oster




                             No problem! We  ’ll
                            start next features                                          Test & Fix
                             while testers test     This agile thing sucks!              Iteration
                                                                                          Bugs, overtime,
                                                   We re done but testers are
                                                    ’                                 programmers & testers
                                                   behind so let’ keep going!
                                                                s                            fighting
                                                                                                         b
5



                            Test Driven Development



                                              Write a
                                             failing test


                                        Refactor
                                                   R    Make
                                                       it Pass
Abby Fichtner, Nate Oster
6



               Acceptance (Story T
                                ) est Driven Development



                                                                  Write a


                                        h
                                                                 failing test
                                           Write
                                          a failing
                                       Acceptance T est
                                                            Refactor
                                                                       R    Make
                                                                           it Pass




                            Testers help us make stuff without defects in the 1st place!
Abby Fichtner, Nate Oster




                               • Help devs know what “done” means
                               • Make sure we’re building the right thing
                               • Drive inner TDD loop
7



                               The Zen of Test-Driven Development



                                                                                        Write a



                                E h
                                                                                       failing test



                            Conditions of
                                                Write
                                               a failing
                                            Acceptance T est
                                                                               Refactor
                                                                                            R     Make
                                                                                                 it Pass
                                                                                                             D   Demo/
                                                                                                                 Feedback


                             Acceptance




                               Focus shifts as team masters test-driven development
Abby Fichtner, Nate Oster




                                 • Bug detection
                                 • Bug prevention
                                 • Better ways to capture & elicit requirements
                                                Adapted from “Agile Testing”, Lisa Crispin & Janet Gregory
8



                             FitNesse




                                                  GUI




                                               Acceptance
                                              (Story) Tests
Abby Fichtner, Dawn Cannan




                                        Unit & Component Tests


                                        Mike Cohn’s Automated Testing Pyramid
Abby Fichtner, Dawn Cannan




                             FitNesse
                                        9
10



                                FitNesse

                              FitNesse Page




                                 Fixture
Abby Fichtner, Dawn Cannan




                             Production Code
11



                                     Agile 2010 Scheduling App




                             Can focus on dev-tester interaction
Abby Fichtner, Dawn Cannan
12



                             Agile 2010 Scheduling App: Data
Abby Fichtner, Dawn Cannan
13



                                Agile 2010 Scheduling App: Tests
                             Unit Tests




                             Acceptance Test Fixtures
Abby Fichtner, Dawn Cannan
14



                             Story #3: Get Session Recommendations
                             Acceptance Test Fixtures




                             Helper Methods
Abby Fichtner, Dawn Cannan
15



                                            Stories #4, #5 & #6
                             4: Select My Friends




                             5 & 6: List of Friends Attending Sessions/Same Session as Me




                             Query Helper Methods (Agile2010AcceptanceTest)
Abby Fichtner, Dawn Cannan
16



                                  Stories #7: Get Popular Sessions
                             Acceptance Criteria



                             Providing Query Results from Fixtures
Abby Fichtner, Dawn Cannan
17




                                        Mini-Retrospective

                             Audience




                             Pair Demonstration
Abby Fichtner, Dawn Cannan
18




                             Workshop Retrospective

                        1.

                        2.

                        3.

                        4.
Abby Fichtner, Cannan
Thank You!
Abby Fichtner                                                                                     Dawn Cannan
Hacker Chick                                                                                        Passionate Tester
Developer Evangelist Microsoft
                    ,                                                                               Tester Evangelist
haxrchick@gmail.com                                                                             dcannan@gmail.com
http://TheHackerChickBlog.com                                                            http://PassionateTester.com




               This presentation is licensed under a Creative Commons Attribution-Share Alike 3.0 License

Contenu connexe

En vedette

En vedette (11)

The Best Social Program is a Job!
The Best Social Program is a Job!The Best Social Program is a Job!
The Best Social Program is a Job!
 
Dawn Finch
Dawn FinchDawn Finch
Dawn Finch
 
Alimentación balanceada
Alimentación balanceadaAlimentación balanceada
Alimentación balanceada
 
Grow with HubSpot - Singapore - June 2016
Grow with HubSpot - Singapore - June 2016Grow with HubSpot - Singapore - June 2016
Grow with HubSpot - Singapore - June 2016
 
Flyer Delitzscher str Häuser
Flyer Delitzscher str HäuserFlyer Delitzscher str Häuser
Flyer Delitzscher str Häuser
 
Hays Plc Annual Report 2016
Hays Plc Annual Report 2016Hays Plc Annual Report 2016
Hays Plc Annual Report 2016
 
Repair mechanisms of genetic material
Repair mechanisms of genetic materialRepair mechanisms of genetic material
Repair mechanisms of genetic material
 
Building calloutswithoutwsdl2apex
Building calloutswithoutwsdl2apexBuilding calloutswithoutwsdl2apex
Building calloutswithoutwsdl2apex
 
Pigeon Poop - You've got to learn to live with it...
Pigeon Poop - You've got to learn to live with it...Pigeon Poop - You've got to learn to live with it...
Pigeon Poop - You've got to learn to live with it...
 
The changing face of software testing
The changing face of software testingThe changing face of software testing
The changing face of software testing
 
Social Program July
Social Program JulySocial Program July
Social Program July
 

Plus de Abby Fichtner

Get Your Business Online -- No Coding Required
Get Your Business Online -- No Coding RequiredGet Your Business Online -- No Coding Required
Get Your Business Online -- No Coding Required
Abby Fichtner
 
How to Build Your MVP
How to Build Your MVPHow to Build Your MVP
How to Build Your MVP
Abby Fichtner
 

Plus de Abby Fichtner (20)

Innovative Technology
Innovative TechnologyInnovative Technology
Innovative Technology
 
Strategic Risk Taking: Lessons Learned from Entrepreneurs
Strategic Risk Taking: Lessons Learned from EntrepreneursStrategic Risk Taking: Lessons Learned from Entrepreneurs
Strategic Risk Taking: Lessons Learned from Entrepreneurs
 
Lean Startup Applied: Building New Products for New Markets
Lean Startup Applied: Building New Products for New MarketsLean Startup Applied: Building New Products for New Markets
Lean Startup Applied: Building New Products for New Markets
 
How to Build Innovative Technologies
How to Build Innovative TechnologiesHow to Build Innovative Technologies
How to Build Innovative Technologies
 
NCRC Entrepreneurship Workshop
NCRC Entrepreneurship WorkshopNCRC Entrepreneurship Workshop
NCRC Entrepreneurship Workshop
 
Discovering the Right Product for your Startup
Discovering the Right Product for your StartupDiscovering the Right Product for your Startup
Discovering the Right Product for your Startup
 
So You Want To Do a Startup!
So You Want To Do a Startup!So You Want To Do a Startup!
So You Want To Do a Startup!
 
Agile Mindset for Your Startup: From Vision to Viability
Agile Mindset for Your Startup: From Vision to ViabilityAgile Mindset for Your Startup: From Vision to Viability
Agile Mindset for Your Startup: From Vision to Viability
 
So You Want to Do a Startup!
So You Want to Do a Startup!So You Want to Do a Startup!
So You Want to Do a Startup!
 
Creating Your MVP (or Startup Validation Hacks)
Creating Your MVP (or Startup Validation Hacks)Creating Your MVP (or Startup Validation Hacks)
Creating Your MVP (or Startup Validation Hacks)
 
Get Your Business Online -- No Coding Required
Get Your Business Online -- No Coding RequiredGet Your Business Online -- No Coding Required
Get Your Business Online -- No Coding Required
 
Lean Startup: Getting out there & changing the world
Lean Startup: Getting out there & changing the worldLean Startup: Getting out there & changing the world
Lean Startup: Getting out there & changing the world
 
How to Build Your MVP
How to Build Your MVPHow to Build Your MVP
How to Build Your MVP
 
Lean Startup 101
Lean Startup 101Lean Startup 101
Lean Startup 101
 
Lean Startup: Getting out there & Changing the World
Lean Startup: Getting out there & Changing the WorldLean Startup: Getting out there & Changing the World
Lean Startup: Getting out there & Changing the World
 
Lean Startup: A Founder's Guide
Lean Startup: A Founder's GuideLean Startup: A Founder's Guide
Lean Startup: A Founder's Guide
 
Agile for Startups
Agile for StartupsAgile for Startups
Agile for Startups
 
Follow Your Own Path
Follow Your Own PathFollow Your Own Path
Follow Your Own Path
 
Lean Startup: How Development Looks Different When You're Changing the World ...
Lean Startup: How Development Looks Different When You're Changing the World ...Lean Startup: How Development Looks Different When You're Changing the World ...
Lean Startup: How Development Looks Different When You're Changing the World ...
 
Lean Startup: How Development Looks Different When You're Changing the World
Lean Startup: How Development Looks Different When You're Changing the WorldLean Startup: How Development Looks Different When You're Changing the World
Lean Startup: How Development Looks Different When You're Changing the World
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 

Better Story Testing through Dev-Tester Pairing

  • 1. Q Better Story Testing Through Dev-Tester Pairing Abby Fichtner & Dawn Cannan, , Hacker Chick Passionate Tester Agile 2010 – August 9 2010 , g This presentation is licensed under a Creative Commons Attribution-Share Alike 3.0 License q
  • 2. 2 Why Pair Devs & Testers ? Figure out how to make stuff without defects in the first place Abby Fichtner, Dawn Cannan - Mary Poppendieck, Google Tech Talks, 12/2006
  • 3. 3 d Agile: The Happy Path d Release! Iteration 1 Iteration 2 Iteration 3 ... E Abby Fichtner, Nate Oster
  • 4. 4 F Agile: The Not So Happy Path F Oops, we ran out of time to test! Iteration 1 Iteration 2 Iteration 3 X Release! Actual Release R Code Test R Code Test R Code Test Bug Fix Abby Fichtner, Nate Oster No problem! We ’ll start next features Test & Fix while testers test This agile thing sucks! Iteration Bugs, overtime, We re done but testers are ’ programmers & testers behind so let’ keep going! s fighting b
  • 5. 5 Test Driven Development Write a failing test Refactor R Make it Pass Abby Fichtner, Nate Oster
  • 6. 6 Acceptance (Story T ) est Driven Development Write a h failing test Write a failing Acceptance T est Refactor R Make it Pass Testers help us make stuff without defects in the 1st place! Abby Fichtner, Nate Oster • Help devs know what “done” means • Make sure we’re building the right thing • Drive inner TDD loop
  • 7. 7 The Zen of Test-Driven Development Write a E h failing test Conditions of Write a failing Acceptance T est Refactor R Make it Pass D Demo/ Feedback Acceptance Focus shifts as team masters test-driven development Abby Fichtner, Nate Oster • Bug detection • Bug prevention • Better ways to capture & elicit requirements Adapted from “Agile Testing”, Lisa Crispin & Janet Gregory
  • 8. 8 FitNesse GUI Acceptance (Story) Tests Abby Fichtner, Dawn Cannan Unit & Component Tests Mike Cohn’s Automated Testing Pyramid
  • 9. Abby Fichtner, Dawn Cannan FitNesse 9
  • 10. 10 FitNesse FitNesse Page Fixture Abby Fichtner, Dawn Cannan Production Code
  • 11. 11 Agile 2010 Scheduling App Can focus on dev-tester interaction Abby Fichtner, Dawn Cannan
  • 12. 12 Agile 2010 Scheduling App: Data Abby Fichtner, Dawn Cannan
  • 13. 13 Agile 2010 Scheduling App: Tests Unit Tests Acceptance Test Fixtures Abby Fichtner, Dawn Cannan
  • 14. 14 Story #3: Get Session Recommendations Acceptance Test Fixtures Helper Methods Abby Fichtner, Dawn Cannan
  • 15. 15 Stories #4, #5 & #6 4: Select My Friends 5 & 6: List of Friends Attending Sessions/Same Session as Me Query Helper Methods (Agile2010AcceptanceTest) Abby Fichtner, Dawn Cannan
  • 16. 16 Stories #7: Get Popular Sessions Acceptance Criteria Providing Query Results from Fixtures Abby Fichtner, Dawn Cannan
  • 17. 17 Mini-Retrospective Audience Pair Demonstration Abby Fichtner, Dawn Cannan
  • 18. 18 Workshop Retrospective 1. 2. 3. 4. Abby Fichtner, Cannan
  • 19. Thank You! Abby Fichtner Dawn Cannan Hacker Chick Passionate Tester Developer Evangelist Microsoft , Tester Evangelist haxrchick@gmail.com dcannan@gmail.com http://TheHackerChickBlog.com http://PassionateTester.com This presentation is licensed under a Creative Commons Attribution-Share Alike 3.0 License