Top Banner
Do Testers Have to Code… Quality in Agile Conference Vancouver, Canada April 2015 Lisa Crispin Janet Gregory @lisacrispin @janetgregoryca to be useful?
32
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Do testers have to code... to be useful?

Do  Testers  Have  to  Code…

Quality  in  Agile  Conference  Vancouver,  Canada  April  2015  

 Lisa  Crispin                                      Janet  Gregory  @lisacrispin                              @janetgregoryca  

to  be  useful?

Page 2: Do testers have to code... to be useful?

A  li7le  about  us

Janet  First  agile  team:    2000  

Currently  coaching,    training  TwiGer:    janetgregoryca  

Email:  [email protected]  

Agile  TesJng;  2009  More  Agile  TesJng:  Oct  2014  

Website:    www.agiletester.com    www.agiletester.ca  

Lisa      First  agile  team  –  2000  

Currently  tester  on  Pivotal  Tracker  team  TwiGer:    lisacrispin  

Email:  [email protected]  

Page 3: Do testers have to code... to be useful?

We’ve  heard  it  since  the  dawn  of  “agile”…  

Everyone on the team should be able to do everything, including writing production

code

Page 4: Do testers have to code... to be useful?

We need to automate everything!

Let’s hire some SDETs!

But shouldn’t we be trying to build quality in?

Page 5: Do testers have to code... to be useful?

Reality  Check…

•  Many  (if  not  most)  job  ads  ask  for  programming  skills  

•  Managers  think  test  automaJon  is  a  silver  bullet  

•  Technical  skills  help  testers  communicate  with  devs,  ops,  others  

Page 6: Do testers have to code... to be useful?

Our  take

•  TesJng  skills  such  as  exploratory  tesJng  are  a  must  •  Competencies  trump  roles  •  The  whole  team  must  take  responsibility  for  quality  •  TesJng  starts  at  the  beginning  •  Know  what  you  need  to  add  value  •  There  is  no  room  for  zombie  testers!  

Page 7: Do testers have to code... to be useful?

It’s  a  Mindset  Switch

Instead  of    • We’re  here  to  find  bugs  …  or  ensure  requirements  are  met  …  or  break  the  sobware  …  

7  

Think  – How  do  we  “bake  quality  in”?  

–  ..and  how  can  we  help  deliver  sobware  successfully?  

Page 8: Do testers have to code... to be useful?

Testers  need    Technical  Awareness  !!    

Agile  teams  already  have  coders,  but…  

Page 9: Do testers have to code... to be useful?

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: Do testers have to code... to be useful?

This  means  learning…

•  TesJng  framework  your  team  selects  •  and  the  DSL  (domain  specific  language)  

•  Common  language  with  programmers  •  Common  language  with  customers  •  Code  to  read  &  understand    •  Code  to  write?  –  can’t  hurt,  but  not  

absolutely  required  

Page 11: Do testers have to code... to be useful?

Frameworks  /  languages  /  terminology

Example  of  BDD  format  Given  the  user  has  no  exisJng  account  

When  she  requests  to  create  a  new  account  

And  she  enters  a  valid  user  name  and  valid  password                                    (rules  defined)    

Then  the  informaJon  is  saved  upon  submilng.  

 

Page 12: Do testers have to code... to be useful?

Understand  Programming  Concepts

Common  vocabulary  

Page 13: Do testers have to code... to be useful?

IDEs    (integrated  development  environment)

If you use same tools as

teammates… …they can more easily help you

Page 14: Do testers have to code... to be useful?

Maintain your own •  Linux/Unix •  Windows •  Mac •  Deploys

Maintain  Test  Environments

Page 15: Do testers have to code... to be useful?

Examples:    Share  Stories

Page 16: Do testers have to code... to be useful?

Workflows,  Journeys  

Page 17: Do testers have to code... to be useful?

Know  Your  Domain

Page 18: Do testers have to code... to be useful?

   

Thinking  Skills

Page 19: Do testers have to code... to be useful?

CollaboraRng,  CommunicaRng

•  Ubiquitous  language  •  Examples  

•  QuesJon    

Page 20: Do testers have to code... to be useful?

Delivering  InformaRon

•  Oben  bad  news!  •  CollaboraJve  approach  –  “Show  me”  

Page 21: Do testers have to code... to be useful?

1.  Form  groups  of  three  

2.  Who  has  the  most  unusual  hobby?    

3.  Explain  it  to  the  other  two  in  one  minute.    

Page 22: Do testers have to code... to be useful?

SJcker  by  Brian  Marick  

Page 23: Do testers have to code... to be useful?

Testers  add  unique  value

•  Delivery  teams  already  have  coders  

•  But  may  not  have  tesJng  skills  such  as:  •  Exploratory  tesJng  •  SpecialJes  such  as  security,  performance,  UX  

tesJng  •  EliciJng  examples  from  customers,  turning  into  

tests  that  guide  coding  

Page 24: Do testers have to code... to be useful?

MulJ-­‐  discipline  skills  

Expert    Discipline  skills  

T-­‐Shaped  Skills

Page 25: Do testers have to code... to be useful?

Breadth of Skills

Dep

th o

f Ski

lls

Square-­‐shaped  Team

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

Page 26: Do testers have to code... to be useful?

Cube-­‐shaped  Skills!

Idea  from  Marcelo  Leite  

Page 27: Do testers have to code... to be useful?

Where  to  get  the  skills?

Experiment!  •  Study  group,  book  club  •  Community  of  PracJce  •  Online  resources  •  What  fits  your  learning  

style?  •  Find  the  wonder!  

Page 28: Do testers have to code... to be useful?

What  skill  do  you  need?

•  Get  back  with  your  group  of  three  

•  IdenJfy  one  skill  that  would  help  you  collaborate  with  team  members  to  build  quality  in  

•  Think  of  an  experiment  that  could  help  you  learn  the  skill  

Page 29: Do testers have to code... to be useful?

So,  do  we  need  to  be  coders?

•  Dev  teams  already  have  coders!  

•  Technical  awareness  is  a  must  •  Thinking  skills  enable  our  contribuJons  

•  Specialized  tesJng  skills  add  huge  value  

Page 30: Do testers have to code... to be useful?

There’s  not  one  right  way      

Find  ways  that  you  can  add  value  to  your  team  

   And  then  ….  keep  learning    

Page 31: Do testers have to code... to be useful?

More  Learning •  Adzic,  Gojko,  Specifica5on  by  Example:  How  Successful  Teams  Deliver  the  Right  SoAware,  Manning,  2011  •  Adzic,  Gojko,  Impact  Mapping:  Making  a  Big  Impact  with  SoAware  Products  and  Projects,  2012a  hGp://impactmapping.org  

•  Gärtner,  Markus,  ATDD  By  Example:  A  Prac5cal  Guide  to  Acceptance  Test-­‐Driven  Development,  Addison-­‐Wesley,  2012a  •  Karten,  Naomi,  "Are  You  Listening?",  hGp://www.agileconnecJon.com/arJcle/are-­‐you-­‐listening,  Agile  ConnecJon,  2009  •  Keogh,  Liz,  hGp://lunivore.com  -­‐  look  for  her  posts  on  BDD,  Real  OpJons  •  Knight,  Adam  P.,  "T-­‐shaped  Tester,  Square  Shaped  Team",  hGp://thesocialtester.co.uk/t-­‐shaped-­‐tester-­‐square-­‐shaped-­‐team/,  2013  •  Lambert,  Rob,  "T-­‐shaped  Testers  and  Their  Role  In  a  Team",  hGp://thesocialtester.co.uk/t-­‐shaped-­‐testers-­‐and-­‐their-­‐role-­‐in-­‐a-­‐team/  ,  2012  •  Levison,  Mark,  "The  Beginner's  Mind  -­‐  An  Approach  to  Listening",  hGp://www.infoq.com/news/2008/08/beginners_mind,  InfoQ,  2008  •  McMillan,  Darren,  "Mind  Mapping  101",  for  TesJng:  hGp://www.beGertesJng.co.uk/content/?p=956,  2011  •  PaGon,  Jeff,  User  Story  Mapping,  2014  •  Wynne,  MaG  and  Aslak  Hellesoy,  The  Cucumber  Book:  Behavior-­‐Driven  Development  for  Testers  and  Developers,  PragmaJc  Programmers,  2012  

Page 32: Do testers have to code... to be useful?

Agile  Tes5ng:  A  Prac5cal  Guide  for  Testers  and  Agile  Teams  

More  Agile  Tes5ng:  Learning  Journeys  for  the  Whole  Team  

By  Janet  Gregory  and  Lisa  Crispin    www.agiletester.ca  www.agiletester.com  

Contact  info  www.janetgregory.ca  Email:  [email protected]  TwiGer:  janetgregoryca  

32  

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