atd advanced topicsworkshop

33
Advanced Topics in Agile Tes0ng Agile Tes0ng Days 2013 Lisa Crispin CoAuthor with Janet Gregory, Agile Tes)ng: A Prac)cal Guide for Testers and Agile Teams, and the upcoming More Agile Tes)ng

Upload: lisacrispin

Post on 10-May-2015

571 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Atd advanced topicsworkshop

Advanced  Topics  in  Agile  Tes0ng  Agile  Tes0ng  Days  2013  

Lisa  Crispin  Co-­‐Author  with  Janet  Gregory,  Agile  Tes)ng:  A  Prac)cal  

Guide  for  Testers  and  Agile  Teams,  and  the  upcoming  More  Agile  Tes)ng    

Page 2: Atd advanced topicsworkshop

2

The  day…  Maybe!  

1.  Introduc0ons  2.  What  do  we  want  to  talk  about  3.  Priori0ze  4.  Then  start  tackling  one  problem  at  a  0me.          

 

Page 3: Atd advanced topicsworkshop

3

Expecta0ons  

•  Collabora0ve,    problem  solving  aPtude,  open  

•  Workshop  –  We’ll  share  outcomes  with  the  world  (keep  me  honest)  

•  Some  slides  –  if  we  need  them  for  explana0on  

•  You’ll  leave  with  some  experiments  to  help  with  your  biggest  problems  and  goals  

       

 

Page 4: Atd advanced topicsworkshop

4

What  might  we  talk  about?  It’s  up  to  you!  

•  Impact  mapping  •  Agile  tes0ng  quadrants  •  T-­‐shaped  Skillsets  •  Mind  mapping  •  Selec0ng  tools  •  Technical  debt  

     

 

•  Distributed  teams  •  Out-­‐sourcing  •  Automa0on  •  Pairing  pa[erns  •  Experimen0ng  •  Others????    

     

 

Possible  topics:  

Page 5: Atd advanced topicsworkshop

Next:      •  Iden0fy  problems,  set  SMART  goals  •  Brainstorm  experiments  to  achieve  goals  and  reduce  problem  size  –  Impact  mapping  – Other  discussion  and  brainstorming  exercises  such  as  mind  mapping,  drawing  on  the  whiteboard,  brain  wri0ng,  SWOT  analysis  

– We’ll  share  stories  and  experiences  

 

Page 6: Atd advanced topicsworkshop

In  table  groups:  1.  Write  down  biggest  

tes0ng-­‐related  problems  for  your  own  team,  one  per  s0cky  note  

2.  Dot  vote  to  priori0ze  3.  Set  SMART  goal  for  

highest  priority  problem  

Page 7: Atd advanced topicsworkshop

•  Why  are  we  doing  this?  •  Who  can  help?  Hinder?  Who  is  impacted?  •  How  can  they  help  or  hinder?  Impacts  •  What  can  we  do  to  support  impacts?              Deliverables  

Impact  Mapping  

7  

Page 8: Atd advanced topicsworkshop

Example  Impact  Map    

8  

Based  on  example  at  h[p://impactmapping.org,  Gojko  Adzic  Recommended  book:  Impact  Mapping  

Page 9: Atd advanced topicsworkshop

9  

Impact    Map  

Stakeholders  /  personas   Impacts  

Possible  deliverables  

Possible  deliverables  

Page 10: Atd advanced topicsworkshop

10

More  Resources  

The  following  slides  may  be  helpful  for  topics  we  discuss,  or  for  future  reference.  

We’ll  write  down  resources,  and  there’s  a  separate  list  of  useful  links  

       

 

Page 11: Atd advanced topicsworkshop

11

Agile  Tes0ng  Quadrants                

Page 12: Atd advanced topicsworkshop

ATDD  (Acceptance  Test  Driven  Development)  

User  Story  

Expand  Tests  

High  level  AT  

Auto-­‐  mate  tests  

Code  &  

Execute  tests  

Explore    

Exploratory  Tes0ng  

Accept  Story  

Fix  defects  

Explore  examples  

12  

Page 13: Atd advanced topicsworkshop

Sub  topic  

Sub  topic  

Sub  topic  

Mind  Mapping  as  a  Tool  

MAIN  TOPIC  

Sub  topic  

Sub  topic  

first  3me  

change  

new  account  

password  rules  

encryp3on  

save   user  name  

rules  

13  

Page 14: Atd advanced topicsworkshop

14

Choosing  Tools  

§  Team  effort  §  Time  §  Requirements  §  Focus  on  goals,  problems,  not  tools.  §  Experiment          

 

Page 15: Atd advanced topicsworkshop

•  Enables  testers  /  business  to  define  tests  

•  test  code  can  be  in  programming  language  

•  Programmers  can  run  tests  as  they  code  

•  Testers  can  ask  programmers  for  help  

•  Takes  0me  from  ‘coding’  produc0on  code  

•  Tests  are  usually  through  the  UI  

•  Programmers  aren’t  usually  willing  to  help  

•  Tests  are  implemented  amer  the  code  is  wri[en  

•  Testers  create  and  implement  all  tests  

15  

Page 16: Atd advanced topicsworkshop

16

Understand  the  Purpose  

§  Who’s  using  the  tests?  What  for?  §  What’s  being  automated?  §  Exis0ng  tools,  environment  §  Who’s  doing  what  for  automa0ng?          

 

Page 17: Atd advanced topicsworkshop

17

What  Fits  Your  Situa0on  •  Exis0ng  skills    •  Language  of  applica0on  under  test  •  Collabora0on  needs  •  What’s  being  automated  •  Life  span,  future  use  of  tests            

 

Page 18: Atd advanced topicsworkshop

√  

Page 19: Atd advanced topicsworkshop

19  

Pairing  for  Tes3ng  

Tester-Designer�

Tester-Support �

Tester-Tester�

Tester-Coder�

Analyst, DBA, Sys Admin, Customer…�

Tester-Marketer�

Page 20: Atd advanced topicsworkshop

20  

The  key  is  “sustainable  pace”  

Technical  debt  slows  us  down    

     

   

       

Page 21: Atd advanced topicsworkshop

Technical  Debt  Volcano  

From  Ma[  Barcomb  

Page 22: Atd advanced topicsworkshop

Story  Mapping  

   

Ac0vi0es  by  0me  

Child  Storie

s  

From  Janet  Gregory  &  Ma?  Barcomb  

Jeff  Pa[on:  h[p://www.agileproductdesign.com/blog/the_new_backlog.html  

Page 23: Atd advanced topicsworkshop

From  Janet  Gregory  &  Ma?  Barcomb  

Story  Mapping  

Page 24: Atd advanced topicsworkshop

Mul0-­‐  discipline  skills  Expert  /  Discipline  skills  

Page 25: Atd advanced topicsworkshop

Breadth of Skills

Dep

th o

f Ski

lls

T-­‐shaped  Skill-­‐set  

See  links  for  more  by  Rob  Lambert  and  Adam  P.  Knight  

Page 26: Atd advanced topicsworkshop

Test  Automa0on  Volcano  

From  Ma[  Barcomb  

Page 27: Atd advanced topicsworkshop

Source:  Gojko  Adzic,  StarEast  2011  keynote  

Page 28: Atd advanced topicsworkshop

Source:  Gojko  Adzic,  StarEast  2011  keynote  

Page 29: Atd advanced topicsworkshop

29

Learn  to  write  maintainable  tests  §  Get  over  the  “hump  of  pain”                

From  Gerard  Meszaros’  XUnit  Test  Pa?erns  

Page 30: Atd advanced topicsworkshop

30

Tests  as  Living  Documenta0on  §  Understandable  §  Who  will  really  use  them?  §  Once  passing,  must  always  pass                        

 

Page 31: Atd advanced topicsworkshop

31  

Supportive Culture�

Page 32: Atd advanced topicsworkshop

32  

The right infrastructure �

Page 33: Atd advanced topicsworkshop

33  

The right people �