cognitive biases in testing - srikanth krishnan - eurostar 2012

59
Srikanth Krishnan, Oracle Cognitive Biases in Testing www.eurostarconferences.com @escon fs #escon fs

Upload: eurostar-conference

Post on 18-Dec-2014

29 views

Category:

Technology


1 download

DESCRIPTION

EuroSTAR Software Testing Conference 2012 presentation on cognitive biases in software testing

TRANSCRIPT

Page 1: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Srikanth Krishnan, Oracle

Cognitive Biases in Testing

www.eurostarconferences.com

@esconfs#esconfs

Page 2: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Cognitive Biases in Testing

Srikanth S KrishnanSr. Director QAOracle India

Page 3: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Guess the percentage of African Nations in the

UN.

Page 4: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

What is a Cognitive Bias ?

Page 5: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

It is the human tendency to make systematic errors in certain circumstances based on cognitive factors rather than evidence.

Page 6: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Heuristics

Statistical mis-estimates

Memory errors

Social Constructs

Page 7: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Tester’s Delusion Spots

Test Planning

Test Design

Test Advocacy

Page 8: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Anchoring

Page 9: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Guess the percentage of African Nations in the

UN.

Page 10: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Anchoring

Will you be happier if you get a 100% hike?

Page 11: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Bidding after stating the last 2 digits of social security number

Page 12: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Why are black pearls more expensive?

Page 13: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

occurs when people consider a particular value for an unknown quantity before estimating that quantity

Page 14: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Effect on Estimation

New Feature vs. regression testing of existing features

Page 15: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Effect on Negotiation

Page 16: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Relativity

Page 17: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Would you mind walking 5 min to save Rs 100 on a Rs

500 pen?

Page 18: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Would you mind walking 5 min to save Rs 100 on a Rs 7000 suite?

Page 19: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Decoy Effect or Asymmetric dominance effect

Page 20: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012
Page 21: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Option A Option B

Features 400 300

Cost 3800 2000

Page 22: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Option A

Option B

Option C

Features

400 300 350

Cost 3800 2000 4500

Page 23: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

People not only compare things, but also compare things that are easily comparable.

Page 24: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

The Price of Ownership

Endowment Effect

Page 25: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

How much would you pay for a Coffee Mug ?

Page 26: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Applies to ideas as well as objects.

Page 27: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

People not only compare things, but also compare things that are easily comparable.

Page 28: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

The more effort you put into something the more ownership you feel. IKEA Effect

Page 29: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Ex. Manager from Finance

Page 30: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Test repository clean up

Which one will you get rid of?

(assume same coverage)

Suite1 Created with 100 man days effort

Suite2 Created with 30 man days effort

Page 31: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Effect of Expectation

Confirmation bias: Self-Fulfilling Prophesy

Page 32: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

How do you get more women in the orchestra?

Page 33: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Positive vs. negative Test cases.

Page 34: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Seeing patterns where none exist.

Page 35: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012
Page 36: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

exist.

exist.

20

12

4

31

Page 37: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012
Page 38: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Influence of great UI.

Page 39: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Negativity Bias

More attention is given to negative than positive experiences

Page 40: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

The lingering effect of a nasty bug.

Page 41: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Sunk Costs

Page 42: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Concorde Fallacy

“I have spent so much time doing the setups.”

Page 43: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Concorde Fallacy

Why test a project that has been scrapped?

Page 44: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Cost of Zero

Page 45: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Amazon’s free shipping

Page 46: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

AOL’s unlimited plan

Page 47: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Concorde Fallacy

No Cost to QA

Page 48: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Paradox of Choice

Page 49: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Concorde Fallacy

More is not always better

Page 50: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Burn your bridges

Page 51: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Concorde Fallacy

Why don’t we keep this server just in case?

Page 52: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Procrastination

Page 53: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Concorde Fallacy

Choose your own deadline

Page 54: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Concorde Fallacy

The hockey-stick effort curve

Page 55: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Concorde Fallacy

Milestones and distributed deadlines

Page 56: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Resurrection to Rationality

Page 57: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

overcoming

channeling

Page 58: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

References and Acknowledgements

Predictably Irrational – Dan ArielyNudge – Thaler & SunsteinBlink – Malcolm GladwellSway – Brafman (Ori & Rom)Wikipedia

Page 59: Cognitive Biases in Testing  - Srikanth Krishnan - EuroSTAR 2012

Concorde Fallacy

Thank You