SlideShare a Scribd company logo
1 of 11
Download to read offline
Pitfalls in
                                                     Agile Testing
                                                      and How to
                                                      Avoid Them


                            by Paul Carvalho
                          Agile 2012, Dallas, Texas
                                August 2012
  @can_test                      http://STAQS.com/             Agile 2012
Monday, August 13, 2012
Pitfalls in Agile Testing and How to Avoid Them


                      Pitfall #1: Agile Testing
     •    There is no Agile Testing
     •    There is testing you do on an agile team
     •    You can be agile when testing
     •    It is Agile Software Development and there
          are many testing activities you may
          choose to do
     • You are not Agile Testers,
       You are Agile Developers.

  @can_test                                          Agile 2012
Monday, August 13, 2012
Pitfalls in Agile Testing and How to Avoid Them


                          Pitfall #2: Not Agile      Organisation
                                                     Team
                                                     Individual

     •    Mini-waterfall                              Symptom:
                                                      Are testers
     •    Separation of roles, no collaboration       included in
                                                      planning
                                                       sessions?
     •    Focus on Process and Tools
     •    Stories not “done” at end of sprints
                               Story
     • Done                    Sprint
                               Release




  @can_test                                              Agile 2012
Monday, August 13, 2012
Pitfalls in Agile Testing and How to Avoid Them


                          Pitfall #3: Not Testing
     • Checking vs. Testing - Effort vs. value?
     • Symptom: detailed test cases with expected
       results                                                                           “Only”
                                                                         Testing         Manual
                                                                 SUT
                                                                          Effort         Testing
              What is               Oracles
              Quality?                      Models, Techniques
       Constraints            Testing
         (Time, $)                            Tools

                          Env’t         Context,                 Where is the
                                        Information              customer needs in
                                                                 this Venn diagram?
     Some Traps:
                                                                 (where does the
     • Forgetting the big picture                                 3rd circle go?)
     • Inattentional blindness
     • Communication barriers, silos
          (e.g. not allowed to talk to P.O. or customer)

  @can_test                                                                           Agile 2012
Monday, August 13, 2012
Pitfalls in Agile Testing and How to Avoid Them


                          Pitfall #4: Automation
     •    Software not designed for Testability
     •    Developers don’t automate unit tests
     •    Automated tests not maintained - failed tests ignored?
     •    Automation Frameworks - may be a trap: evolve them!
     •    Computers are blind:


                    Input                   Output
                              SUT




  @can_test                                              Agile 2012
Monday, August 13, 2012
Pitfalls in Agile Testing and How to Avoid Them


                     Pitfall #5: Types of Testing
     • Traditional idea:
                        • Unit, Integration, System, Acceptance
                        Naïve, Waterfall-view
     Perform the Tests that Provide VALUE




              (Agile Testing Quadrants from Brian Marick)




                                                            (Test pyramid from Janet Gregory)

  @can_test                                                                                     Agile 2012
Monday, August 13, 2012
Pitfalls in Agile Testing and How to Avoid Them


                     Getting Past The Traps
         Let’s dive deeper into these pitfalls and
         come up with ideas to get around or
         through them




  @can_test                                          Agile 2012
Monday, August 13, 2012
Pitfalls in Agile Testing and How to Avoid Them


              Bonus Pitfall: Exercise (1/3)
     • You will need:
                 • 1 piece of paper
                 • Pens, pencils, markers, crayons, lipstick, charcoal, whatever..
     • Task: Create a Map - to your favourite store/shop
                            As a fan of this store
                            I want to create a map
                            So that I can show someone how to get
                            there (to buy me something I like) 

     • When done:
                 • Put your Name and Date on the back (i.e., code check-in)
                 • Place it upside-down in the centre of the table


  @can_test                        (Exercise © Paul Carvalho - please attribute)     Agile 2012
Monday, August 13, 2012
Pitfalls in Agile Testing and How to Avoid Them


              Bonus Pitfall: Exercise (2/3)
     Testing Phase
     • Test Strategy: Personas
                 • Work as a group, and record on a flip chart
                 • Create 6 different personas for people who like to travel
                 • For each persona, identify:
                           » Mode of transport - be specific! (e.g. Bicycle, Tandem)
                           » Person’s name
                           » Person’s job, or main hobby

     • Evaluate Maps according to Personas
                 • Select a map (NOT yours!)
                 • Mark the map with a  or  for each persona tested
                 • Return the map to the owner when testing is complete

  @can_test                        (Exercise © Paul Carvalho - please attribute)   Agile 2012
Monday, August 13, 2012
Pitfalls in Agile Testing and How to Avoid Them


              Bonus Pitfall: Exercise (3/3)


                     Q: What is the final Pitfall here?

                    Q: What are some ways to avoid
                     negative feelings and results?



  @can_test                        (Exercise © Paul Carvalho - please attribute)   Agile 2012
Monday, August 13, 2012
Pitfalls in Agile Testing and How to Avoid Them


                                    Questions?


                    If you have any additional questions,
                                 please ask:

                          Email: Paul -at- STAQS.com
                                http://staqs.com
                                      Twitter: @can_test




  @can_test                                                 Agile 2012
Monday, August 13, 2012

More Related Content

Similar to Agile 2012 pitfalls in agile testing - paul carvalho

Agile 2012 the 0-page agile test plan - paul carvalho
Agile 2012   the 0-page agile test plan - paul carvalhoAgile 2012   the 0-page agile test plan - paul carvalho
Agile 2012 the 0-page agile test plan - paul carvalhodrewz lin
 
A New Model For Testing
A New Model For TestingA New Model For Testing
A New Model For TestingTEST Huddle
 
Things Could Get Worse: Ideas About Regression Testing
Things Could Get Worse: Ideas About Regression TestingThings Could Get Worse: Ideas About Regression Testing
Things Could Get Worse: Ideas About Regression TestingTechWell
 
Agile Testing: Learning Journeys for the Whole Team - Janet G @ CMBAgileConf ...
Agile Testing: Learning Journeys for the Whole Team - Janet G @ CMBAgileConf ...Agile Testing: Learning Journeys for the Whole Team - Janet G @ CMBAgileConf ...
Agile Testing: Learning Journeys for the Whole Team - Janet G @ CMBAgileConf ...ColomboCampsCommunity
 
An Introduction to Agile Testing Agile Tour Kaunas 2013
An Introduction to Agile Testing  Agile Tour Kaunas 2013An Introduction to Agile Testing  Agile Tour Kaunas 2013
An Introduction to Agile Testing Agile Tour Kaunas 2013Clement Pickering
 
Advancing Testing Using Axioms
Advancing Testing Using AxiomsAdvancing Testing Using Axioms
Advancing Testing Using AxiomsSQALab
 
My Experiments In Agile Testing in Yahoo.pptx
My Experiments In Agile Testing in Yahoo.pptxMy Experiments In Agile Testing in Yahoo.pptx
My Experiments In Agile Testing in Yahoo.pptxBaiju Joseph
 
Selenium Users Anonymous
Selenium Users AnonymousSelenium Users Anonymous
Selenium Users AnonymousDave Haeffner
 
Does candidate testing work for today's recruiter?
Does candidate testing work for today's recruiter?Does candidate testing work for today's recruiter?
Does candidate testing work for today's recruiter?Amanda Davies
 
Melissa Tondi - Automation We_re Doing it Wrong.pdf
Melissa Tondi - Automation We_re Doing it Wrong.pdfMelissa Tondi - Automation We_re Doing it Wrong.pdf
Melissa Tondi - Automation We_re Doing it Wrong.pdfQA or the Highway
 
Agile testing experiments
Agile testing experimentsAgile testing experiments
Agile testing experimentsBaiju Joseph
 
World Usability Day 2005 • User Research at Orbitz
World Usability Day 2005 • User Research at OrbitzWorld Usability Day 2005 • User Research at Orbitz
World Usability Day 2005 • User Research at OrbitzJason Kunesh
 
Activate Agile 2014 : roles, activities, behaviours in Agile Projects
Activate Agile 2014 : roles, activities, behaviours in Agile ProjectsActivate Agile 2014 : roles, activities, behaviours in Agile Projects
Activate Agile 2014 : roles, activities, behaviours in Agile Projectsdeancornish
 
How to Ace Your Scrum Master Interview
How to Ace Your Scrum Master InterviewHow to Ace Your Scrum Master Interview
How to Ace Your Scrum Master InterviewPavel Dabrytski
 
Developer testing webinar
Developer testing webinar Developer testing webinar
Developer testing webinar PractiTest
 
More Than Usability
More Than UsabilityMore Than Usability
More Than UsabilityRazan Sadeq
 
Software testing 2012 - A Year in Review
Software testing 2012 - A Year in ReviewSoftware testing 2012 - A Year in Review
Software testing 2012 - A Year in ReviewJohan Hoberg
 

Similar to Agile 2012 pitfalls in agile testing - paul carvalho (20)

Agile 2012 the 0-page agile test plan - paul carvalho
Agile 2012   the 0-page agile test plan - paul carvalhoAgile 2012   the 0-page agile test plan - paul carvalho
Agile 2012 the 0-page agile test plan - paul carvalho
 
New model
New modelNew model
New model
 
A New Model For Testing
A New Model For TestingA New Model For Testing
A New Model For Testing
 
Things Could Get Worse: Ideas About Regression Testing
Things Could Get Worse: Ideas About Regression TestingThings Could Get Worse: Ideas About Regression Testing
Things Could Get Worse: Ideas About Regression Testing
 
Agile Testing: Learning Journeys for the Whole Team - Janet G @ CMBAgileConf ...
Agile Testing: Learning Journeys for the Whole Team - Janet G @ CMBAgileConf ...Agile Testing: Learning Journeys for the Whole Team - Janet G @ CMBAgileConf ...
Agile Testing: Learning Journeys for the Whole Team - Janet G @ CMBAgileConf ...
 
An Introduction to Agile Testing Agile Tour Kaunas 2013
An Introduction to Agile Testing  Agile Tour Kaunas 2013An Introduction to Agile Testing  Agile Tour Kaunas 2013
An Introduction to Agile Testing Agile Tour Kaunas 2013
 
Advancing Testing Using Axioms
Advancing Testing Using AxiomsAdvancing Testing Using Axioms
Advancing Testing Using Axioms
 
My Experiments In Agile Testing in Yahoo.pptx
My Experiments In Agile Testing in Yahoo.pptxMy Experiments In Agile Testing in Yahoo.pptx
My Experiments In Agile Testing in Yahoo.pptx
 
Selenium Users Anonymous
Selenium Users AnonymousSelenium Users Anonymous
Selenium Users Anonymous
 
Does candidate testing work for today's recruiter?
Does candidate testing work for today's recruiter?Does candidate testing work for today's recruiter?
Does candidate testing work for today's recruiter?
 
Agile testing
Agile testingAgile testing
Agile testing
 
Melissa Tondi - Automation We_re Doing it Wrong.pdf
Melissa Tondi - Automation We_re Doing it Wrong.pdfMelissa Tondi - Automation We_re Doing it Wrong.pdf
Melissa Tondi - Automation We_re Doing it Wrong.pdf
 
Agile testing experiments
Agile testing experimentsAgile testing experiments
Agile testing experiments
 
World Usability Day 2005 • User Research at Orbitz
World Usability Day 2005 • User Research at OrbitzWorld Usability Day 2005 • User Research at Orbitz
World Usability Day 2005 • User Research at Orbitz
 
Quality is a Mindset
Quality is a MindsetQuality is a Mindset
Quality is a Mindset
 
Activate Agile 2014 : roles, activities, behaviours in Agile Projects
Activate Agile 2014 : roles, activities, behaviours in Agile ProjectsActivate Agile 2014 : roles, activities, behaviours in Agile Projects
Activate Agile 2014 : roles, activities, behaviours in Agile Projects
 
How to Ace Your Scrum Master Interview
How to Ace Your Scrum Master InterviewHow to Ace Your Scrum Master Interview
How to Ace Your Scrum Master Interview
 
Developer testing webinar
Developer testing webinar Developer testing webinar
Developer testing webinar
 
More Than Usability
More Than UsabilityMore Than Usability
More Than Usability
 
Software testing 2012 - A Year in Review
Software testing 2012 - A Year in ReviewSoftware testing 2012 - A Year in Review
Software testing 2012 - A Year in Review
 

More from drewz lin

Web security-–-everything-we-know-is-wrong-eoin-keary
Web security-–-everything-we-know-is-wrong-eoin-kearyWeb security-–-everything-we-know-is-wrong-eoin-keary
Web security-–-everything-we-know-is-wrong-eoin-kearydrewz lin
 
Via forensics appsecusa-nov-2013
Via forensics appsecusa-nov-2013Via forensics appsecusa-nov-2013
Via forensics appsecusa-nov-2013drewz lin
 
Phu appsec13
Phu appsec13Phu appsec13
Phu appsec13drewz lin
 
Owasp2013 johannesullrich
Owasp2013 johannesullrichOwasp2013 johannesullrich
Owasp2013 johannesullrichdrewz lin
 
Owasp advanced mobile-application-code-review-techniques-v0.2
Owasp advanced mobile-application-code-review-techniques-v0.2Owasp advanced mobile-application-code-review-techniques-v0.2
Owasp advanced mobile-application-code-review-techniques-v0.2drewz lin
 
I mas appsecusa-nov13-v2
I mas appsecusa-nov13-v2I mas appsecusa-nov13-v2
I mas appsecusa-nov13-v2drewz lin
 
Defeating xss-and-xsrf-with-my faces-frameworks-steve-wolf
Defeating xss-and-xsrf-with-my faces-frameworks-steve-wolfDefeating xss-and-xsrf-with-my faces-frameworks-steve-wolf
Defeating xss-and-xsrf-with-my faces-frameworks-steve-wolfdrewz lin
 
Csrf not-all-defenses-are-created-equal
Csrf not-all-defenses-are-created-equalCsrf not-all-defenses-are-created-equal
Csrf not-all-defenses-are-created-equaldrewz lin
 
Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21
Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21
Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21drewz lin
 
Appsec usa roberthansen
Appsec usa roberthansenAppsec usa roberthansen
Appsec usa roberthansendrewz lin
 
Appsec usa2013 js_libinsecurity_stefanodipaola
Appsec usa2013 js_libinsecurity_stefanodipaolaAppsec usa2013 js_libinsecurity_stefanodipaola
Appsec usa2013 js_libinsecurity_stefanodipaoladrewz lin
 
Appsec2013 presentation-dickson final-with_all_final_edits
Appsec2013 presentation-dickson final-with_all_final_editsAppsec2013 presentation-dickson final-with_all_final_edits
Appsec2013 presentation-dickson final-with_all_final_editsdrewz lin
 
Appsec2013 presentation
Appsec2013 presentationAppsec2013 presentation
Appsec2013 presentationdrewz lin
 
Appsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitations
Appsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitationsAppsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitations
Appsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitationsdrewz lin
 
Appsec2013 assurance tagging-robert martin
Appsec2013 assurance tagging-robert martinAppsec2013 assurance tagging-robert martin
Appsec2013 assurance tagging-robert martindrewz lin
 
Amol scadaowasp
Amol scadaowaspAmol scadaowasp
Amol scadaowaspdrewz lin
 
Agile sdlc-v1.1-owasp-app sec-usa
Agile sdlc-v1.1-owasp-app sec-usaAgile sdlc-v1.1-owasp-app sec-usa
Agile sdlc-v1.1-owasp-app sec-usadrewz lin
 
Vulnex app secusa2013
Vulnex app secusa2013Vulnex app secusa2013
Vulnex app secusa2013drewz lin
 
基于虚拟化技术的分布式软件测试框架
基于虚拟化技术的分布式软件测试框架基于虚拟化技术的分布式软件测试框架
基于虚拟化技术的分布式软件测试框架drewz lin
 
新浪微博稳定性经验谈
新浪微博稳定性经验谈新浪微博稳定性经验谈
新浪微博稳定性经验谈drewz lin
 

More from drewz lin (20)

Web security-–-everything-we-know-is-wrong-eoin-keary
Web security-–-everything-we-know-is-wrong-eoin-kearyWeb security-–-everything-we-know-is-wrong-eoin-keary
Web security-–-everything-we-know-is-wrong-eoin-keary
 
Via forensics appsecusa-nov-2013
Via forensics appsecusa-nov-2013Via forensics appsecusa-nov-2013
Via forensics appsecusa-nov-2013
 
Phu appsec13
Phu appsec13Phu appsec13
Phu appsec13
 
Owasp2013 johannesullrich
Owasp2013 johannesullrichOwasp2013 johannesullrich
Owasp2013 johannesullrich
 
Owasp advanced mobile-application-code-review-techniques-v0.2
Owasp advanced mobile-application-code-review-techniques-v0.2Owasp advanced mobile-application-code-review-techniques-v0.2
Owasp advanced mobile-application-code-review-techniques-v0.2
 
I mas appsecusa-nov13-v2
I mas appsecusa-nov13-v2I mas appsecusa-nov13-v2
I mas appsecusa-nov13-v2
 
Defeating xss-and-xsrf-with-my faces-frameworks-steve-wolf
Defeating xss-and-xsrf-with-my faces-frameworks-steve-wolfDefeating xss-and-xsrf-with-my faces-frameworks-steve-wolf
Defeating xss-and-xsrf-with-my faces-frameworks-steve-wolf
 
Csrf not-all-defenses-are-created-equal
Csrf not-all-defenses-are-created-equalCsrf not-all-defenses-are-created-equal
Csrf not-all-defenses-are-created-equal
 
Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21
Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21
Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21
 
Appsec usa roberthansen
Appsec usa roberthansenAppsec usa roberthansen
Appsec usa roberthansen
 
Appsec usa2013 js_libinsecurity_stefanodipaola
Appsec usa2013 js_libinsecurity_stefanodipaolaAppsec usa2013 js_libinsecurity_stefanodipaola
Appsec usa2013 js_libinsecurity_stefanodipaola
 
Appsec2013 presentation-dickson final-with_all_final_edits
Appsec2013 presentation-dickson final-with_all_final_editsAppsec2013 presentation-dickson final-with_all_final_edits
Appsec2013 presentation-dickson final-with_all_final_edits
 
Appsec2013 presentation
Appsec2013 presentationAppsec2013 presentation
Appsec2013 presentation
 
Appsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitations
Appsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitationsAppsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitations
Appsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitations
 
Appsec2013 assurance tagging-robert martin
Appsec2013 assurance tagging-robert martinAppsec2013 assurance tagging-robert martin
Appsec2013 assurance tagging-robert martin
 
Amol scadaowasp
Amol scadaowaspAmol scadaowasp
Amol scadaowasp
 
Agile sdlc-v1.1-owasp-app sec-usa
Agile sdlc-v1.1-owasp-app sec-usaAgile sdlc-v1.1-owasp-app sec-usa
Agile sdlc-v1.1-owasp-app sec-usa
 
Vulnex app secusa2013
Vulnex app secusa2013Vulnex app secusa2013
Vulnex app secusa2013
 
基于虚拟化技术的分布式软件测试框架
基于虚拟化技术的分布式软件测试框架基于虚拟化技术的分布式软件测试框架
基于虚拟化技术的分布式软件测试框架
 
新浪微博稳定性经验谈
新浪微博稳定性经验谈新浪微博稳定性经验谈
新浪微博稳定性经验谈
 

Agile 2012 pitfalls in agile testing - paul carvalho

  • 1. Pitfalls in Agile Testing and How to Avoid Them by Paul Carvalho Agile 2012, Dallas, Texas August 2012 @can_test http://STAQS.com/ Agile 2012 Monday, August 13, 2012
  • 2. Pitfalls in Agile Testing and How to Avoid Them Pitfall #1: Agile Testing • There is no Agile Testing • There is testing you do on an agile team • You can be agile when testing • It is Agile Software Development and there are many testing activities you may choose to do • You are not Agile Testers, You are Agile Developers. @can_test Agile 2012 Monday, August 13, 2012
  • 3. Pitfalls in Agile Testing and How to Avoid Them Pitfall #2: Not Agile Organisation Team Individual • Mini-waterfall Symptom: Are testers • Separation of roles, no collaboration included in planning sessions? • Focus on Process and Tools • Stories not “done” at end of sprints Story • Done Sprint Release @can_test Agile 2012 Monday, August 13, 2012
  • 4. Pitfalls in Agile Testing and How to Avoid Them Pitfall #3: Not Testing • Checking vs. Testing - Effort vs. value? • Symptom: detailed test cases with expected results “Only” Testing Manual SUT Effort Testing What is Oracles Quality? Models, Techniques Constraints Testing (Time, $) Tools Env’t Context, Where is the Information customer needs in this Venn diagram? Some Traps: (where does the • Forgetting the big picture 3rd circle go?) • Inattentional blindness • Communication barriers, silos (e.g. not allowed to talk to P.O. or customer) @can_test Agile 2012 Monday, August 13, 2012
  • 5. Pitfalls in Agile Testing and How to Avoid Them Pitfall #4: Automation • Software not designed for Testability • Developers don’t automate unit tests • Automated tests not maintained - failed tests ignored? • Automation Frameworks - may be a trap: evolve them! • Computers are blind: Input Output SUT @can_test Agile 2012 Monday, August 13, 2012
  • 6. Pitfalls in Agile Testing and How to Avoid Them Pitfall #5: Types of Testing • Traditional idea: • Unit, Integration, System, Acceptance Naïve, Waterfall-view Perform the Tests that Provide VALUE (Agile Testing Quadrants from Brian Marick) (Test pyramid from Janet Gregory) @can_test Agile 2012 Monday, August 13, 2012
  • 7. Pitfalls in Agile Testing and How to Avoid Them Getting Past The Traps Let’s dive deeper into these pitfalls and come up with ideas to get around or through them @can_test Agile 2012 Monday, August 13, 2012
  • 8. Pitfalls in Agile Testing and How to Avoid Them Bonus Pitfall: Exercise (1/3) • You will need: • 1 piece of paper • Pens, pencils, markers, crayons, lipstick, charcoal, whatever.. • Task: Create a Map - to your favourite store/shop As a fan of this store I want to create a map So that I can show someone how to get there (to buy me something I like)  • When done: • Put your Name and Date on the back (i.e., code check-in) • Place it upside-down in the centre of the table @can_test (Exercise © Paul Carvalho - please attribute) Agile 2012 Monday, August 13, 2012
  • 9. Pitfalls in Agile Testing and How to Avoid Them Bonus Pitfall: Exercise (2/3) Testing Phase • Test Strategy: Personas • Work as a group, and record on a flip chart • Create 6 different personas for people who like to travel • For each persona, identify: » Mode of transport - be specific! (e.g. Bicycle, Tandem) » Person’s name » Person’s job, or main hobby • Evaluate Maps according to Personas • Select a map (NOT yours!) • Mark the map with a  or  for each persona tested • Return the map to the owner when testing is complete @can_test (Exercise © Paul Carvalho - please attribute) Agile 2012 Monday, August 13, 2012
  • 10. Pitfalls in Agile Testing and How to Avoid Them Bonus Pitfall: Exercise (3/3) Q: What is the final Pitfall here? Q: What are some ways to avoid negative feelings and results? @can_test (Exercise © Paul Carvalho - please attribute) Agile 2012 Monday, August 13, 2012
  • 11. Pitfalls in Agile Testing and How to Avoid Them Questions? If you have any additional questions, please ask: Email: Paul -at- STAQS.com http://staqs.com Twitter: @can_test @can_test Agile 2012 Monday, August 13, 2012