CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted...

45
Exploratory Tes.ng in the Enterprise CQAA June 22, 2011

Transcript of CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted...

Page 1: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

Exploratory  Tes.ng  in  the  Enterprise  

CQAA  June  22,  2011  

Page 2: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

Partner,  DeveloperTown   www.DeveloperTown.com    

Past  President,  Associa.on  for  SoFware  Tes.ng   www.Associa.onForSoFwareTes.ng.org    

Ar.cles  and  Blogs   www.MichaelDKelly.com      

Author  of  the  chapter  on  “Session  Based  Test  Management”  in  upcoming  book  How  to  Reduce  the  Cost  of  So0ware  Tes4ng    

                   

Page 3: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

A  STORY  

Page 4: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

•  3  testers  instead  of  15  •  66%  (or  $200,000)  cheaper  than  budgeted    •  two-­‐week  shorter  window  for  tes.ng  •  delivered  on  .me  •  no  serious  defects  in  produc.on    

HOW?  

Page 5: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

“Simultaneous  learning,  test  design,  and  test  execu.on.”  

                                   -­‐  James  Bach    

Page 6: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

pure scripted freestyle exploratory

charters vague scripts

fragmentary test cases (scenarios) roles

-­‐image  from  Jon  Bach  

Page 7: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

 the  tester,  the  way  they  work,    

and  their  ability  to  work  in  the  future,  is    as  important  as    

the  product  being  tested  

Page 8: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

   What  makes  them  “exploratory?”  

Page 9: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

Self  Management    

     

Page 10: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

Developing  Ideas  

Page 11: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

Examining  the  Product  

Page 12: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

       There’s  always  resistance  

Page 13: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

 A  desire  for  visible,    track-­‐able,  progress  

Page 14: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

       It’s  difficult  to  quan.ta.vely    measure  coverage  

Page 15: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

There’s  extraordinary  pressure  for    “reuse”  and  “cost  control”  

Page 16: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

           Session  Based  Test  Management  

Page 17: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

•  charters  

Page 18: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

•  charters  •  .me-­‐boxed  

Page 19: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

•  charters  •  .me-­‐boxed  •  session  notes  

Page 20: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

•  charters  •  .me-­‐boxed  •  session  notes  •  debriefs  

Page 21: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

•  charters  •  .me-­‐boxed  •  session  notes  •  debriefs  •  team  priori.za.on  

Page 22: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

•  charters  •  .me-­‐boxed  •  session  notes  •  debriefs  •  team  priori.za.on  •  ad-­‐hoc  test  documenta.on  

Page 23: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

•  charters  •  .me-­‐boxed  •  session  notes  •  debriefs  •  team  priori.za.on  •  ad-­‐hoc  test  documenta.on  •  ad-­‐hoc  test  automa.on  

Page 24: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

•  charters  •  .me-­‐boxed  •  session  notes  •  debriefs  •  team  priori.za.on  •  ad-­‐hoc  test  documenta.on  •  ad-­‐hoc  test  automa.on  •  dynamic  metrics  and  repor.ng  

Page 25: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles
Page 26: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

       

     Focus  on  dealing  with  uncertainty  

Page 27: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

             START  

Page 28: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

   Begin  by  implemen.ng  a  specific  prac.ce    

Page 29: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

Add  exploratory  tes.ng  days  to    the  end  of  exis.ng  test  cycles  

Page 30: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

Carve  out  a  small  por.on  of  an  exis.ng  project  and  apply  exploratory  tes.ng  to  that  por.on  

Page 31: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

Run  a  pilot  project  

Page 32: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

Responding  to  concerns  

Page 33: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

   the  Michael  Jordan  effect  

Page 34: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

       

“We  don’t  do  agile.”    

Page 35: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

   

               “What  about  regression  tes.ng?”  

Page 36: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

“We  hand  our  test  scripts  off  for  test  automa.on…”  

Page 37: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

 “How  do  you  provide  traceability?”  

Page 38: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

“Your  percent  complete  keeps  changing!”  

Page 39: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

 “Don’t  we  lose  the  ability  to  add  people  late  in  

the  project  if  we  get  sideways?”  

Page 40: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

“Our  testers  aren’t  subject  mager  experts.”    

Page 41: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

         

“We  can’t  afford  all  senior  testers.”    

Page 42: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

   “How  do  you  make  charters  repeatable?”    

Page 43: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

       

“What  about  es.ma.on?”    

Page 44: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

 Ques.ons?  

Page 45: CQAA Exploratory Testing in the Enterprise 6.22.2011 2011/CQAA Exploratory... · pure scripted freestyle exploratory vague scripts charters fragmentary test cases (scenarios) roles

Reading  Materials  

•  Bach,  James.  "Exploratory  Tes.ng  Explained."  First  published  as  a  chapter  in  The  Test  Prac..oner,  2002.  Available  online  at:  hgp://www.sa.sfice.com/ar.cles/et-­‐ar.cle.pdf  

•  Bach,  James  and  Jon  Bach.  "Exploratory  Tes.ng  Dynamics."  Available  online  at:  hgp://www.sa.sfice.com/ar.cles/et-­‐dynamics.pdf    

•  Bach,  Jon.  "Session  Based  Test  Management."  First  published  in  SoFware  Tes.ng  and  Quality  Engineering,  November  2000.  Available  online  at:  hgp://www.sa.sfice.com/ar.cles/sbtm.pdf  

•  Bach,  James.  "A  Low-­‐Tech  Tes.ng  Dashboard."  Presented  at  STAREast,  1999.  Available  online  at:  hgp://www.sa.sfice.com/presenta.ons/dashboard.pdf  

•  Bach,  Jon.  "How  to  Manage  and  Measure  Exploratory  Tes.ng."  Quardev,  2006.  Available  online  at:  hgp://www.quardev.com/content/whitepapers/how_measure_exploratory_tes.ng.pdf  

•  Pegy,  Kenn.  "Reflec.ons  on  the  Use  of  Session-­‐Based  Exploratory  Tes.ng  As  the  Primary  Test  Methodology  for  SoFware  in  an  Agile  Environment."  Presented  at  the  Indianapolis  Workshops  on  So0ware  Tes4ng,  April  2005.  Available  online  at:  hgp://www.indianapolisworkshops.com/docs/Reflec.ons_on_the_use_of_Session-­‐Based_Exploratory_Tes.ng_in_an_Agile_Environment.doc  

•  Pegy,  Kenn.  "Transi.oning  from  Standard  V&V  to  Rapid  Tes.ng  Prac.ces  in  a  Chao.c  Project  Environment."  Presented  at  the  Conference  of  the  Associa4on  for  So0ware  Tes4ng,  2007.  Available  online  at:  hgp://www.associa.onforsoFwaretes.ng.org/documents/Kenn_Pegy_Transi.oning_from_Standard_V&V_to_Rapid_Tes.ng_Prac.ces.pdf  

•  Wood,  Bill  and  David  James.  "Applying  Session-­‐Based  Tes.ng  to  Medical  SoFware."  Medical  Device  and  Diagnos.c  Industry  Magazine,  May  2003.  Available  online  at:  hgp://www.mddionline.com/ar.cle/applying-­‐session-­‐based-­‐tes.ng-­‐medical-­‐soFware  

•  Kelly,  Michael.  “The  benefits  of  exploratory  tes.ng  in  agile  environments.”  SearchSoFwareQuality.com,  2009.  Available  online  at:  hgp://searchsoFwarequality.techtarget.com/.p/0,289483,sid92_gci1350741,00.html    

•  Kelly,  Michael.  “Using  session-­‐based  test  management  for  exploratory  tes.ng.”  SearchSoFwareQuality.com,  2009.    Available  online  at:  hgp://searchsoFwarequality.techtarget.com/.p/0,289483,sid92_gci1352925_mem1,00.html    

•  Kelly,  Michael.  “Using  session-­‐based  test  management  for  exploratory  tes.ng  coverage  problems.”  SearchSoFwareQuality.com,  2009.  Available  online  at:  hgp://searchsoFwarequality.techtarget.com/.p/0,289483,sid92_gci1355475_mem1,00.html    

•  Kelly,  Michael.  “Solving  problems  with  session-­‐based  test  management.”  SearchSoFwareQuality.com,  2009.  Available  online  at:  hgp://searchsoFwarequality.techtarget.com/.p/0,289483,sid92_gci1355815_mem1,00.html