Top Banner
Do Testers Have to Code… Agile Roots Utah June, 2015 Lisa Crispin Janet Gregory @lisacrispin @janetgregoryca to be useful?
28

Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Aug 03, 2015

Download

Technology

lisacrispin
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? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Do Testers Have to Code…

Agile RootsUtah June, 2015

Lisa Crispin Janet Gregory@lisacrispin @janetgregoryca

to be useful?

Page 2: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

A little about us

JanetFirst agile team: 2000

Currently coaching, trainingTwitter: janetgregoryca

Email: [email protected]

Agile Testing; 2009More Agile Testing: Oct 2014

Website: www.agiletester.com

www.agiletester.ca

Lisa First agile team – 2000

Currently tester on Pivotal Tracker teamTwitter: lisacrispin

Email: [email protected]

Page 3: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

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? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

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? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Reality Check…

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

• Managers think test automation is a silver bullet

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

Page 6: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Our take

• Testing skills such as exploratory testing are a must• Competencies trump roles• The whole team must take responsibility for quality• Testing 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? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Multi- discipline skills

Expert Discipline skills

T-Shaped Skills

Page 8: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Breadth of Skills

Dep

th o

f S

kills

Square-shaped Team

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

Page 9: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Testers need Technical Awareness !!

Agile teams already have coders, but…

Page 10: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

This means learning…• Testing 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• Domain knowledge

Page 11: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Understand Programming Concepts

Common vocabulary

Page 12: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

IDEs (integrated development environment)

If you use same tools as teammates…

…they can more easily help you

Page 13: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Feature(with

examples) UserStory

High-Level

AT

Fix Defects

Code, test & automate story

ATDDAcceptance Test Driven Development

AcceptStory Explore

Examples

Page 14: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Frameworks / languages / terminology

Example of BDD format

Given the user has no existing account

When she requests to create a new account

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

Then the information is saved upon submitting.

Page 15: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Testing Skills

Page 16: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Exploratory Testing

PersonasTours

Workflows, JourneysRisks

Page 17: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Thinking Skills

Page 18: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Examples of thinking skills

• Collaborating,

communicating

• Eliciting examples

• Asking questions

• Getting/delivering info:

“Show me”

Page 19: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Sticker by Brian Marick

Page 20: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

1. Find a pair2. One person faces away from the screen3. The other person will have 2 -3 minutes to

describe the picture I show next4. When I say stop, turn around and discuss any

differences in what was described.

A Simple Exercise

Page 21: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015
Page 22: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Testers add unique value

• Delivery teams already have coders

• But may not have testing skills such as:• Exploratory testing• Specialties such as security, performance, UX

testing• Eliciting examples from customers, turning into

tests that guide coding

Page 23: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

So, do we need to be coders?

• Dev teams already have coders!

• Technical awareness is a must• Thinking skills enable our

contributions• Specialized testing skills add

huge value

Page 24: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Where to get the skills?

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

style?• Find the wonder!

Page 25: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

There’s not one right way

Find ways testers can add value to your team

And then …. keep learning

Page 26: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

More Learning• Adzic, Gojko, Specification by Example: How Successful Teams Deliver the Right Software,

Manning, 2011• Adzic, Gojko, Impact Mapping: Making a Big Impact with Software Products and Projects,

2012a http://impactmapping.org• Gärtner, Markus, ATDD By Example: A Practical Guide to Acceptance Test-Driven

Development, Addison-Wesley, 2012a• Karten, Naomi, "Are You Listening?", http://www.agileconnection.com/article/are-you-

listening, Agile Connection, 2009• Keogh, Liz, http://lunivore.com - look for her posts on BDD, Real Options• Knight, Adam P., "T-shaped Tester, Square Shaped Team", http://thesocialtester.co.uk/t-

shaped-tester-square-shaped-team/, 2013• Lambert, Rob, "T-shaped Testers and Their Role In a Team", http://thesocialtester.co.uk/t-

shaped-testers-and-their-role-in-a-team/ , 2012• Levison, Mark, "The Beginner's Mind - An Approach to Listening",

http://www.infoq.com/news/2008/08/beginners_mind, InfoQ, 2008• McMillan, Darren, "Mind Mapping 101", for Testing:

http://www.bettertesting.co.uk/content/?p=956, 2011• Patton, Jeff, User Story Mapping, 2014• Wynne, Matt and Aslak Hellesoy, The Cucumber Book: Behavior-Driven Development for

Testers and Developers, Pragmatic Programmers, 2012

Page 27: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015

Agile Testing: A Practical Guide for Testers and Agile Teams

More Agile Testing: Learning Journeys for the Whole Team

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

Contact infowww.janetgregory.caEmail: [email protected]: janetgregoryca

27

lisacrispin.comEmail: [email protected]: lisacrispin

Page 28: Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plenary session at Agile Roots 2015