SlideShare a Scribd company logo
1 of 19
Download to read offline
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

More Related Content

Viewers also liked

Viewers also liked (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
 

More from 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
 

More from 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
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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​
 
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
 
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
 
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
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
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
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
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...
 

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