James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

47
Pursuing quality? (you won’t get there by testing) James Whittaker Engineering Director, Google +docjamesw (Google+) @docjamesw (Twitter)

description

EuroSTAR Software Testing Conference 2011 presentation on Pursuing Quality-You Won't Get There by James Whittaker. See more at: http://conference.eurostarsoftwaretesting.com/past-presentations/

Transcript of James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Page 1: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Pursuing quality?

(you won’t get there by testing)

James Whittaker Engineering Director, Google

+docjamesw (Google+) @docjamesw (Twitter)

Page 2: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Page 3: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Page 4: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Page 5: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Page 6: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Page 7: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Page 8: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Page 9: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Page 10: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Page 11: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

“Want to make 30% less money? Put the word „test‟ in your title.”

-- Alberto Savoia aka Testivus

(GTAC 2011 Keynote Test is Dead)

Page 12: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Page 13: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Software is getting better!

Vs.

Page 14: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Why software is better ...

Immediate cost of low quality

Competition

Page 15: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Why software is better ...

Post-ship bug fixing

Auto update

Page 16: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Why software is better ...

Self repairing software

Crash recovery

Page 17: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Why software is better ...

Goodbye server config

Cloud deployment

Page 18: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Why software is better ...

Reduction of dependencies

Standards

Page 19: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Why software is better ...

Elegant programming languages

Languages

Page 20: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Why software is better ...

Eradication of certain bug species

Extinction

Page 21: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Why software is better ...

Better code management

Initial code quality

Page 22: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Why software is better ...

Continuous build/integration/release/test

No More Big Bang

Page 23: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Why software is better ...

Convergence of the user and test community

Crowd Source

Page 24: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

Where is testing in this mix?

Page 25: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

“Your quality is not good”

Page 26: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

So what‟s the problem here?

We have an overinflated opinion of ourselves

When do you appreciate car mechanics?

When they find a problem? … Or when they fix it?

Page 27: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

So what‟s the problem here?

We identify with our role instead of our product

This is anti-team, anti-company

Page 28: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

So what‟s the problem here?

We think testing provides something of value

The value of testing is in the activity,

not the artifacts

Page 29: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

So what‟s the problem here?

We‟ve made developers lazy

I can mow my own lawn, but why would I?

Test is development’s crutch

Page 30: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

So what‟s the solution here?

“If you are not part of the solution …

…there is good money to be made in being part of the problem”

Page 31: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

If you can‟t beat „em, join „em!

Page 32: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

If you can‟t beat „em, join „em

What is the value of a single, great tester?

One user? Ten? A hundred? Ten thousand? More?

We are paying testers to act like users? Really? Users don‟t have to act and they have all the devices we‟re interested in Stop testing, start enabling those who do

Page 33: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011
Page 34: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011
Page 35: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011
Page 36: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011
Page 37: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

If you can‟t beat „em, join „em

Who says developers can‟t test?

They can‟t? … Or they don‟t have to? They can‟t? … Or its too hard to be worth the effort?

Stop testing, start enabling those who should

Page 38: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Page 39: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Page 40: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Shipped new APIs every few weeks since mid August

• More than half of the developers have „test‟ in their title

• Zero dedicated testers, everyone is a dev

• One developer owns the testing feature

• Dogfood and trusted tester programs aggressively managed

• No production defect has lived more than a few hours

Page 41: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

Page 42: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

2011 j f m a m j j a s o n d

What does this do to testing?

• Quality is now “just another feature” of the product

• Testing is focused on enabling, tracking … not doing

• The “crowd” takes center stage

• Specialization is a career opportunity

Page 43: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011
Page 44: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

developer

tester

user

Page 45: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

developer

tester

user

• treat testing as a feature

• gets managed in dev workflow

• product is the focus, not the role

Page 46: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

developer

tester

user

• treat testing as a feature

• gets managed in dev workflow

• product is the focus, not the role

• it doesn't matter who does the testing, only that it gets done

• establish test goals, measure progress toward these goals

• specialized testing is focus

Page 47: James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011

James Whittaker Engineering Director

Google

If following my work appeals to you: +docjamesw (Google+) @docjamesw (Twitter)

googledevspot.blogspot.com

googletesting.blogspot.com