Agile Testing Techniques Slides Agile Atlanta 12 2010

Embed Size (px)

Citation preview

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    1/28

    Agile Testing Techniques

    How to Incorporate Testers ontoAgile Teams

    Alex Kell 12/2010

    Twitter: @wiggly

    Blog: ManageToTest.com

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    2/28

    Testers are like tigers

    Photo by Michelle Meiklejohn

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    3/28

    The Problem

    AGILE!

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    4/28

    Agile Testing Quadrants

    Slightly modified from Crispin/Gregory Agile Testing A Practical Guide for Testers and Agile Teams

    Copyright 2009

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    5/28

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    6/28

    The Automation Pyramid

    1 hour of testing at code complete

    equals 24 hours of testing 3 weekslater.

    - Jeff Sutherland

    Copyright 2007 Bob Galen

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    7/28

    We need automated tests to provide fast

    feedback.

    Someone needs to write these tests.

    It has the word test in it, so it must belongto the QA/Test group.

    The QA/Test group doesnt have much inthe way of programming skills.

    Copyright 2010 Elisabeth Hendrickson post on July 26th(http://www.testobsessed.com)

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    8/28

    NoSo, do testers need to be programmers?

    But it can help.

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    9/28

    Dev Shadowing/Pairing

    Testers and Devstogether!

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    10/28

    Test/Build Integration

    Check-In

    Unit tests

    Code-level automated tests (if fast)

    Migration

    All automated tests (including GUI)

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    11/28

    Slightly modified from Crispin/Gregory Agile Testing A Practical Guide for Testers and Agile TeamsCopyright 2009

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    12/28

    Story Acceptance Test Collaboration

    Check for gaps

    Clarify, clarify, clarify

    The Tester must drive the process!

    Verify Testability

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    13/28

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    14/28

    Automation

    Should it be automated?

    How will it be automated?

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    15/28

    Automation:

    Encourages Experimentation and Innovation

    Is fast and persistent

    Allows for deeper and wider Exploration

    Is not free

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    16/28

    ROI of Automation

    Copyright 2003-2008Gerard Meszaros

    Goals of Test Automation http://xUnitpatterns.com

    mailto:testautomationpatterns_at_gerardmeszaros.comhttp://xunitpatterns.com/http://xunitpatterns.com/mailto:testautomationpatterns_at_gerardmeszaros.commailto:testautomationpatterns_at_gerardmeszaros.com
  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    17/28

    Slightly modified from Crispin/Gregory Agile Testing A Practical Guide for Testers and Agile TeamsCopyright 2009

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    18/28

    Exploratory Testing

    Vs. Automation

    Discover tests, seek problems

    Vs. Scripted Testing

    Frequent feedback

    Emphasizes individuals and interactions over processes and tools

    Emphasizes responding to change over following a plan

    Emphasizes working software over comprehensive documentation

    Emphasizes customer collaboration over negotiated contracts

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    19/28

    Session-Based Testing

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    20/28

    Slightly modified from Crispin/Gregory Agile Testing A Practical Guide for Testers and Agile TeamsCopyright 2009

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    21/28

    Four Basic Questions

    How Fast?

    How Long?

    How Often?

    How Much?

    Performance

    Stability

    Reliability

    Scalability

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    22/28

    What did you say again? Use the Whole Team Approach

    Get testers involved in all phases

    Continuous Integration

    Automation

    For feedback and to aid testing

    Executable Specifications

    Techniques

    Pairing Exploratory Testing (and SBTM)

    Time for learning

    Do Performance/ilities continuously

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    23/28

    What we do

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    24/28

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    25/28

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    26/28

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    27/28

  • 8/8/2019 Agile Testing Techniques Slides Agile Atlanta 12 2010

    28/28

    References Lisa Crispin, Janet Gregory Agile Testing A Practical Guide for Testers and

    Agile Teams

    Brian Marickhttp://www.exampler.com

    Michael Boltonhttp://www.developsense.com/

    Matt Heusserhttp://xndev.blogspot.com/

    Elisabeth Hendricksonhttp://testobsessed.com/ Goals of Test Automation http://xUnitpatterns.com

    Selenesse -- http://chrismcmahonsblog.blogspot.com/2009/12/selenesse-nee-

    webtest.html

    Contact info -- Alex Kell

    @wiggly Twitter

    [email protected]

    http://ManageToTest.com

    http://www.exampler.com/http://www.developsense.com/http://xndev.blogspot.com/http://testobsessed.com/http://xunitpatterns.com/http://chrismcmahonsblog.blogspot.com/2009/12/selenesse-nee-webtest.htmlhttp://chrismcmahonsblog.blogspot.com/2009/12/selenesse-nee-webtest.htmlmailto:[email protected]://managetotest.com/http://managetotest.com/mailto:[email protected]://chrismcmahonsblog.blogspot.com/2009/12/selenesse-nee-webtest.htmlhttp://chrismcmahonsblog.blogspot.com/2009/12/selenesse-nee-webtest.htmlhttp://chrismcmahonsblog.blogspot.com/2009/12/selenesse-nee-webtest.htmlhttp://chrismcmahonsblog.blogspot.com/2009/12/selenesse-nee-webtest.htmlhttp://chrismcmahonsblog.blogspot.com/2009/12/selenesse-nee-webtest.htmlhttp://xunitpatterns.com/http://xunitpatterns.com/http://testobsessed.com/http://xndev.blogspot.com/http://www.developsense.com/http://www.exampler.com/