36
Introduc)on to Agile Tes)ng Agile 2015 Conference Washington, D.C. August 2015 Lisa Crispin Janet Gregory @lisacrispin @janetgregoryca Everyone Owns Quality!

Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Embed Size (px)

Citation preview

Page 1: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Introduc)on  to  Agile  Tes)ng

Agile  2015  Conference  Washington,  D.C.    August  2015  

 Lisa  Crispin                                      Janet  Gregory  @lisacrispin                              @janetgregoryca  

Everyone  Owns  Quality!

Page 2: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

A  li;le  about  us

Janet  First  agile  team:    2000  

Currently  coaching,    training  TwiFer:    janetgregoryca  

Email:  [email protected]  

Agile  TesHng;  2009  More  Agile  TesHng:  Oct  2014  

Agile  TesHng  CollecHon:  July  2015    

www.agiletester.com    www.agiletester.ca  

Lisa      First  agile  team  –  2000  

Currently  tester  on  Pivotal  Tracker  team  TwiFer:    lisacrispin  

Email:  [email protected]  

Page 3: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Learning  inten)ons

• Whole  team  responsibility  for  quality  and  tesHng  

• The  value  of  testers  and  tesHng  • How  to  work  together  to  build  the  right  thing  right  • FiVng  tesHng  into  agile  iteraHons  

• Guiding  development  with  examples  and  tests  

 

Page 4: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Whole    Team  Responsibility  

Page 5: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Tes)ng  on  agile  projects  is  ……..

more  than  “just”  tesHng  code                            It’s  an  ac#vity  -­‐  not  a  phase  

5  

Page 6: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Blurred  Roles  –  Whole  Team

Business  Analyst  

Business  Anaylst  

Designer  Designer  

?????  

?????  

Page 7: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Importance  of  CollaboraHon    (and  trust)  

Page 8: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Collabora)on  can  help  to  …..

• Get  the  customers  get  what  they  want  • Prevent  defects  

Page 9: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Feature  (with  

examples)   User  Story  

High-­‐Level  AT  

Fix  Defects  

Code,  test  &  automate  story  

ATDD Acceptance  Test  Driven  Development

Accept  Story   Explore  

Examples  

Page 10: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

SHcker  by  Brian  Marick  

Page 11: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

1.  Find  a  pair  2.  One  person  faces  away  from  the  screen  

3.  The  other  person  will  have  2  -­‐3  minutes  to  describe  the  picture  I  show  next  

4.  When  I  say  stop,  turn  around  and  discuss  any  differences  in  what  was  described.    

A  Simple  Exercise

Page 12: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality
Page 13: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

How  Testers  Can    Add  Value  

Page 14: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Testers  ….   • are  quesHon  askers  • can  help  plan  what  tesHng  needs  to  be  done  • think  tesHng  …  all  the  Hme  • keep  an  eye  on  the  big  picture  

Page 15: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Plan  for  tes)ng  at  different  levels

Page 16: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

   

Tes)ng  Skills

Page 17: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

• Good  tesHng  pracHces,  applied  differently  • Start  with  tests  • Test  throughout  coding/delivery  • Use  models  to  help  plan  

Usability  

Test  Design   FuncHonal  

TesHng  

Performance  

Exploratory  TesHng  

Page 18: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Agile  Tes)ng  Quadrants

Copyright  2014,  Janet  Gregory  and  Lisa  Crispin  

Page 19: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Workflows,  Journeys  

Page 20: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

   

Thinking  Skills

Page 21: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Examples  of  thinking  skills

•  CollaboraHng  

•  CommunicaHng  

•  EliciHng  examples  

•  Asking  quesHons  

•  GeVng/delivering  info:  “Show  me”  

Page 22: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

   

Technical  Awareness  for  

Testers

Page 23: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

MulH-­‐  discipline  skills  

Expert    Discipline  skills  

T-­‐Shaped  Skills

Page 24: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

What  skills  do  you  think  help  with  tes)ng? _______________________________________________  |                                                                                                                                                                                                      |  |                                                                                                                                                                                                      |  |________________                                                        ________________|                                                                            |                                                    |                                                                                    |                                                    |                                                                                        |                                                    |                                                                                        |                                                    |                                                                                    |                                                    |                                                                                        |                                                    |                                                                              |                                                    |                                                                                    |                                                    |                                                                                        |                                                    |                                                                                        |                                                    |                                                                                    |                                                    |                                                                                        |  ___________  |                        

Page 25: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

For  successful  tes)ng:

•  Team  selects  tesHng  framework  together  •  and  the  DSL  (domain  specific  language)  

•  Shared  common  language  helps  shared  understanding  

•  Testers  can  read  code,  pair  w/  programmers  to  understand  it  

•  Programmers  write  prod,  test  code  •  Everyone  learns  domain  

Page 26: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

The  Test  Automa)on  Volcano  Fable    Ma;  Barcomb

Page 27: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Test  AutomaHon  Pyramid  

Page 28: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Automa)on  is  a  team  ac)vity

28  

All  automaHon  done  here  

AutomaHon    here  AutomaHon    

here  

AutomaHon    here  

AutomaHon    here  AutomaHon    

here  AutomaHon    

here  

AutomaHon    here  

AutomaHon    here  AutomaHon    

here  

AutomaHon    here  

AutomaHon    here  AutomaHon    here  

AutomaHon    here  

AutomaHon    here  

AutomaHon    here  

Page 29: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Bring  your  excellent  tes)ng  skills

•  Use  them  conHnually,  incrementally,  iteraHvely  •  Make  tesHng  a  team  problem,  including  

automaHon  •  Elicit  executable  examples  from  customers/

stakeholders  •  Test  small  chunks,  but  keep  the  big  picture  in  

mind  

Page 30: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Let’s  wrap-­‐up  with  some  good  pracHces  

Page 31: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

The  7  Success  Factors  for  Agile  Tes)ng

1.  Use  the  whole  team  approach  2.  Adopt  an  agile  tesHng  mindset  3.  Automate  your  regression  tesHng  4.  Provide  and  obtain  feedback  5.  Build  a  foundaHon  of  core  agile  pracHces  6.  Collaborate  with  customers  7.  Look  at  the  big  picture  

From  Agile  TesHng:  A  PracHcal  Guide  for  Testers  and  Agile  Teams  

Page 32: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Confidence  Building  Prac)ces

1.  Use  real  examples  2.  Perform  exploratory  tesHng  3.  Test  your  features  (and  the  system)  4.  Learn  conHnually  5.  SensiHvity  to  your  context  6.  Keep  it  real  

32  From  More  Agile  TesHng:  Learning  Journeys  for  the  Whole  Team  

Page 33: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

There’s  not  one  right  way      

Find  ways  that  you  can  add  value  to  your  team  

   And  then  ….  keep  learning    

Page 34: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

More  Learning •  Adzic,  Gojko,  Specifica;on  by  Example:  How  Successful  Teams  Deliver  the  Right  SoJware,  Manning,  2011  

•  Gärtner,  Markus,  ATDD  By  Example:  A  Prac;cal  Guide  to  Acceptance  Test-­‐Driven  Development,  Addison-­‐Wesley,  2012a  

•  Hendrickson,  Elisabeth,  Explore  It!  Reduce  Risk  and  Increase  Confidence  with  Exploratory  Tes;ng,  PragmaHc  Programmer,  2013  •  Keogh,  Liz,  hFp://lunivore.com  -­‐  look  for  her  posts  on  BDD,  Real  OpHons  •  Knight,  Adam  P.,  "T-­‐shaped  Tester,  Square  Shaped  Team",  hFp://thesocialtester.co.uk/t-­‐shaped-­‐tester-­‐square-­‐shaped-­‐team/,  2013  •  Lambert,  Rob,  "T-­‐shaped  Testers  and  Their  Role  In  a  Team",  hFp://thesocialtester.co.uk/t-­‐shaped-­‐testers-­‐and-­‐their-­‐role-­‐in-­‐a-­‐team/  ,  2012  •  McMillan,  Darren,  "Mind  Mapping  101",  for  TesHng:  hFp://www.beFertesHng.co.uk/content/?p=956,  2011  •  PaFon,  Jeff,  User  Story  Mapping,  2014  •  Rasmussen,  Jonathan,  The  Agile  Samurai:  How  Agile  Masters  Deliver  Great  SoJware,  PragmaHc  Bookshelf,  2010.  

 

Page 35: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Save 45% - Today Only informit.com/deals

Two complete books together for just $34.64

Share on Twitter! ○  #agile2015 ○  @lisacrispin, @janetgregoryca ○  @informit

Offer ends 12:00 AM, PST Print Books – Available at the Agile Conference Bookstore

DRM-Free eBooks are provided in EPUB, PDF, and MOBI formats – Good for all eReaders and desktop

Page 36: Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality

Agile  Tes;ng:  A  Prac;cal  Guide  for  Testers  and  Agile  Teams  

More  Agile  Tes;ng:  Learning  Journeys  for  the  Whole  Team  

The  Agile  Tes;ng  Collec;on:  an  ebook  

By  Janet  Gregory  and  Lisa  Crispin    www.agiletester.ca  www.agiletester.com  Contact  info  www.janetgregory.ca  Email:  [email protected]  TwiFer:  janetgregoryca  

36  

lisacrispin.com  Email:  [email protected]  TwiFer:  lisacrispin