SlideShare ist ein Scribd-Unternehmen logo
1 von 42
Moneyball and the Science of
Building Great Testing Teams
Peter Varhol
Seapine Software
© 2011 Seapine Software, Inc. All rights reserved.
Moneyball is About Baseball
© 2011 Seapine Software, Inc. All rights reserved.
But It’s Also About Building Great
Teams
© 2011 Seapine Software, Inc. All rights reserved.
Oakland Had a Problem
• There are rich teams and there are poor teams, then
there's fifty feet of crap, and then there's us.
© 2011 Seapine Software, Inc. All rights reserved.
How Do You Build Great Teams?
• Baseball experts didn’t know a number of things
• Getting on base is highly correlated with winning
games
• Pitching is important but not a game-changer
• Fielding is over-rated
• In general, data wins out over expert judgment
• Bias clouds judgment
© 2011 Seapine Software, Inc. All rights reserved.
What Does This Have to Do With
Testing?
• We maintain certain beliefs in testing practice
• Which may or may not be factually true
• That bias can affect our testing results
• How do bias and error work?
• We may be predisposed to believe something
• That affects our work and our conclusions
© 2011 Seapine Software, Inc. All rights reserved.
Let’s Consider Human Error
• Thinking, Fast and Slow – Daniel Kahneman
• System 1 thinking – fast, intuitive, and sometimes
wrong
• System 2 thinking – slower, more deliberate, more
accurate
© 2011 Seapine Software, Inc. All rights reserved.
Consider This Problem
• A bat and ball cost $1.10
• The bat cost one dollar more than the ball
• How much does the ball cost?
© 2011 Seapine Software, Inc. All rights reserved.
Where Does Error Come In?
• System 1 thinking keeps us functioning
• Fast decisions, usually right enough
• Gullible and biased
• System 2 makes deliberate, thoughtful decisions
• It is in charge of doubt and unbelieving
• But is often lazy
• Difficult to engage
© 2011 Seapine Software, Inc. All rights reserved.
Where Does Error Come In?
• What are the kinds of errors that we can make, either
by not engaging System 2, or by overusing it?
• Priming
• Halo effect
• Heuristics
• Regression to the mean
© 2011 Seapine Software, Inc. All rights reserved.
The Role of Priming
• System 1 can be influenced by prior events
• How would you describe your financial situation?
• Are you happy?
• People tend to be primed by the first question
• And answer the second based on financial concerns
© 2011 Seapine Software, Inc. All rights reserved.
The Role of Priming
• If we are given preconceived notions, our instinct is to
support them
• We address this by limiting advance advice/
opinions
• “They were primed to find flaws, and that is exactly
what they found.”
© 2011 Seapine Software, Inc. All rights reserved.
The Halo Effect of Thinking
• Favorable first impressions influence later judgments
• We want our first impressions to be correct
• Provides a simple explanation for results
• Cause and effect get reversed
• A leader who succeeds is decisive;
the same leader who fails is rigid
© 2011 Seapine Software, Inc. All rights reserved.
The Halo Effect of Thinking
• Controlling for halo effects
• Facts and standards predominate
• Resist the desire to try to explain
© 2011 Seapine Software, Inc. All rights reserved.
The Role of Heuristics
• We unconsciously form rules of thumb
• That enable us to quickly evaluate a situation and
make a decision
• No thinking necessary
• System 1 in action
© 2011 Seapine Software, Inc. All rights reserved.
The Role of Heuristics
• Sometimes heuristics can be incomplete or even wrong
• And we make mistakes
© 2011 Seapine Software, Inc. All rights reserved.
The Anchoring Effect
• Expectations play a big role in results
• Suggesting a value ahead of time significantly
influences our prediction
• It doesn’t matter what the value is
© 2011 Seapine Software, Inc. All rights reserved.
Regression to the Mean
• We seek causal reasons for exceptional performances
• But most of the time they are due to normal
variation
© 2011 Seapine Software, Inc. All rights reserved.
Regression to the Mean
• “When I praise a good performance, the next time it’s
not as good.”
• “When I criticize a poor performance, it always
improves the next time.”
• But achievement = skill + luck
• Praise or criticism for exceptional
performances won’t help
© 2011 Seapine Software, Inc. All rights reserved.
Regression to the Mean
• But we believe in the value of experts
• Even when those experts are often wrong
• And we discount algorithmic answers
• Even when they have a better record than experts
• We take credit for the positive outcome
• And discount negative ones
© 2011 Seapine Software, Inc. All rights reserved.
Regression to the Mean
• Are expertise and expert intuition real?
• Yes, under certain circumstances
• A domain with largely unchanging rules and
circumstances
• Years of work to develop expertise
• But even experts often don’t realize their
limits
© 2011 Seapine Software, Inc. All rights reserved.
And About Those Statistics
• We don’t believe they apply to our unique
circumstances!
• We can extrapolate from the particular to the general
• But not from the general to the particular
© 2011 Seapine Software, Inc. All rights reserved.
Thinking About Testing
© 2011 Seapine Software, Inc. All rights reserved.
Thinking About Testing
• We don’t know the quality of an application
• So we substitute other questions
• Number and type of defects
• Performance or load characteristics
© 2011 Seapine Software, Inc. All rights reserved.
Thinking About Testing
• Those we can answer
• But do they relate to the question on quality?
• It depends on our definition of quality
• We could be speaking different languages
• Quality to users may be different
© 2011 Seapine Software, Inc. All rights reserved.
Thinking About Testing
• With simple rote tests, System 1 is adequate
• The process is well-defined
• Exploratory testing engages System 2
• Exploratory testing is a good change of pace
• Too much exploratory testing will wear you out
© 2011 Seapine Software, Inc. All rights reserved.
Lessons to Testing
• Recognize and reduce bias
• Preconceived expectations of quality will influence
testing
• Even random information may affect results
© 2011 Seapine Software, Inc. All rights reserved.
Lessons to Testing
• Automation is more than simply an ROI calculation
• It reduces bias and team errors
• Workflow, test case execution, and defect tracking
can especially benefit
© 2011 Seapine Software, Inc. All rights reserved.
Lessons to Testing
• We estimate badly
• We assume the best possible outcomes on a series
of tasks
• Past experience is the best predictor of future
performance
• Use your data
• But add value after the fact
© 2011 Seapine Software, Inc. All rights reserved.
How Can We Build a Great Team?
© 2011 Seapine Software, Inc. All rights reserved.
How Do You Build Great Teams
• You minimize error in judgment
• Recognize and reduce bias
• You keep people sharp by not continually stressing
them
• Overwork can make thinking lazy
© 2011 Seapine Software, Inc. All rights reserved.
How Can We Build Great Teams?
• Choose great testers
• Choose team members who exhibit the
characteristics of great testers
• Not necessarily those whose resume matches the
job description
© 2011 Seapine Software, Inc. All rights reserved.
How Can We Build Great Teams?
• What are the characteristics of great testers?
• Mix of System 1 and System 2 thinking
• Creativity
• Curiosity
• Willingness to question and question
• Ability to see the big picture
• Focus and perseverance
• Team player, but able to work individually
© 2011 Seapine Software, Inc. All rights reserved.
How Can We Build Great Teams?
• Who exhibits those characteristics?
• The usual suspects
• But who else?
• Scientists
• Marathon Runners
• Fashion Designers
© 2011 Seapine Software, Inc. All rights reserved.
How Can We Build Great Teams?
• Preconceived expectations of quality will bias us
• Keep expectations to a minimum
• Avoid groupthink
• Once the team has agreed, ask them how the plan
can fail
• Re-evaluate the plan in this light
© 2011 Seapine Software, Inc. All rights reserved.
Building a Great Team
• Vary rote and exploratory testing
• Explore a portion of the application
• Then run test cases
• System 1 and System 2 are exercised in succession
© 2011 Seapine Software, Inc. All rights reserved.
Building a Great Team
• Expertise is good up to a point
• But experts need to be certain of the limits of their
expertise
• Experts shouldn’t make the decisions
• But they can provide input
• Must be willing to work from data
© 2011 Seapine Software, Inc. All rights reserved.
Building a Great Team
• Becoming skillful at testing
• But learn broad rather than deep
• Expertise may be more of a hindrance
• Seek jacks-of-all-trades
© 2011 Seapine Software, Inc. All rights reserved.
Summary
• Testing is influenced by a variety of thinking errors
• Understanding how people think can make us attuned
to the errors we make
• We can adapt our approach to testing and team
management to account for errors
• Expertise matters, but only to a point
© 2011 Seapine Software, Inc. All rights reserved.
For More Information
• Moneyball, a movie starring Brad Pitt
• Moneyball, a book by Michael Lewis
• The King of Human Error, Vanity Fair
• Thinking, Fast and Slow, a book by Daniel Kahneman
• The Halo Effect, a book by
Philip Rosenzweig
© 2011 Seapine Software, Inc. All rights reserved.
Questions?
Seapine Software – www.seapine.com
The Seapine View - http://blogs.seapine.com/
© 2011 Seapine Software, Inc. All rights reserved.
Thank you
Peter Varhol
varholp@seapine.com
Seapine Software
http://www.seapine.com

Weitere ähnliche Inhalte

Mehr von Seapine Software

Traceability Trends in Medical Device Development
Traceability Trends in Medical Device DevelopmentTraceability Trends in Medical Device Development
Traceability Trends in Medical Device Development
Seapine Software
 
FMEA RCA Risk Management webinar
FMEA RCA Risk Management webinarFMEA RCA Risk Management webinar
FMEA RCA Risk Management webinar
Seapine Software
 
Seapine driverless car safety infographic
Seapine driverless car safety infographicSeapine driverless car safety infographic
Seapine driverless car safety infographic
Seapine Software
 
Test-Driven Development Reference Card
Test-Driven Development Reference CardTest-Driven Development Reference Card
Test-Driven Development Reference Card
Seapine Software
 
Seapine Scrum Reference Card
Seapine Scrum Reference CardSeapine Scrum Reference Card
Seapine Scrum Reference Card
Seapine Software
 
Webinar - Maximizing Requirements Value Throughout the Product Lifecycle
Webinar - Maximizing Requirements Value Throughout the Product Lifecycle Webinar - Maximizing Requirements Value Throughout the Product Lifecycle
Webinar - Maximizing Requirements Value Throughout the Product Lifecycle
Seapine Software
 
Medical Device Development - Automating Traceability and Documentation
Medical Device Development - Automating Traceability and DocumentationMedical Device Development - Automating Traceability and Documentation
Medical Device Development - Automating Traceability and Documentation
Seapine Software
 
FDA Expectations for Traceability in Device & Diagnostic Design
FDA Expectations for Traceability in Device & Diagnostic DesignFDA Expectations for Traceability in Device & Diagnostic Design
FDA Expectations for Traceability in Device & Diagnostic Design
Seapine Software
 
Take the Pain (and Weekends) Out of Test Case Management
Take the Pain (and Weekends) Out of Test Case ManagementTake the Pain (and Weekends) Out of Test Case Management
Take the Pain (and Weekends) Out of Test Case Management
Seapine Software
 
Understanding the Business Case for Agile
Understanding the Business Case for AgileUnderstanding the Business Case for Agile
Understanding the Business Case for Agile
Seapine Software
 
Agile at Seapine (University of Cincinnati 2011)
Agile at Seapine (University of Cincinnati 2011)Agile at Seapine (University of Cincinnati 2011)
Agile at Seapine (University of Cincinnati 2011)
Seapine Software
 
Monitoring Quality Metrics to Know When to Ship
Monitoring Quality Metrics to Know When to ShipMonitoring Quality Metrics to Know When to Ship
Monitoring Quality Metrics to Know When to Ship
Seapine Software
 

Mehr von Seapine Software (20)

Traceability Trends in Medical Device Development
Traceability Trends in Medical Device DevelopmentTraceability Trends in Medical Device Development
Traceability Trends in Medical Device Development
 
FMEA RCA Risk Management webinar
FMEA RCA Risk Management webinarFMEA RCA Risk Management webinar
FMEA RCA Risk Management webinar
 
Seapine driverless car safety infographic
Seapine driverless car safety infographicSeapine driverless car safety infographic
Seapine driverless car safety infographic
 
Test-Driven Development Reference Card
Test-Driven Development Reference CardTest-Driven Development Reference Card
Test-Driven Development Reference Card
 
Seapine Scrum Reference Card
Seapine Scrum Reference CardSeapine Scrum Reference Card
Seapine Scrum Reference Card
 
The Road to Better Traceability
The Road to Better TraceabilityThe Road to Better Traceability
The Road to Better Traceability
 
2013 State of medical device webinar
2013 State of medical device webinar2013 State of medical device webinar
2013 State of medical device webinar
 
Beyond FDA Compliance Webinar: 5 Hidden Benefits of Your Traceability Matrix
Beyond FDA Compliance Webinar: 5 Hidden Benefits of Your Traceability MatrixBeyond FDA Compliance Webinar: 5 Hidden Benefits of Your Traceability Matrix
Beyond FDA Compliance Webinar: 5 Hidden Benefits of Your Traceability Matrix
 
Sw qual joint webinar deck (5)
Sw qual joint webinar deck (5)Sw qual joint webinar deck (5)
Sw qual joint webinar deck (5)
 
Pragmatic Device Risk Management
Pragmatic Device Risk Management Pragmatic Device Risk Management
Pragmatic Device Risk Management
 
Use the Windshield, Not the Mirror Predictive Metrics that Drive Successful ...
 Use the Windshield, Not the Mirror Predictive Metrics that Drive Successful ... Use the Windshield, Not the Mirror Predictive Metrics that Drive Successful ...
Use the Windshield, Not the Mirror Predictive Metrics that Drive Successful ...
 
Leveraging Reusability and Traceability in Medical Device Development
Leveraging Reusability and Traceability in Medical Device DevelopmentLeveraging Reusability and Traceability in Medical Device Development
Leveraging Reusability and Traceability in Medical Device Development
 
Webinar - Maximizing Requirements Value Throughout the Product Lifecycle
Webinar - Maximizing Requirements Value Throughout the Product Lifecycle Webinar - Maximizing Requirements Value Throughout the Product Lifecycle
Webinar - Maximizing Requirements Value Throughout the Product Lifecycle
 
Medical Device Development - Automating Traceability and Documentation
Medical Device Development - Automating Traceability and DocumentationMedical Device Development - Automating Traceability and Documentation
Medical Device Development - Automating Traceability and Documentation
 
FDA Expectations for Traceability in Device & Diagnostic Design
FDA Expectations for Traceability in Device & Diagnostic DesignFDA Expectations for Traceability in Device & Diagnostic Design
FDA Expectations for Traceability in Device & Diagnostic Design
 
Take the Pain (and Weekends) Out of Test Case Management
Take the Pain (and Weekends) Out of Test Case ManagementTake the Pain (and Weekends) Out of Test Case Management
Take the Pain (and Weekends) Out of Test Case Management
 
Understanding the Business Case for Agile
Understanding the Business Case for AgileUnderstanding the Business Case for Agile
Understanding the Business Case for Agile
 
When Requirements Change
When Requirements ChangeWhen Requirements Change
When Requirements Change
 
Agile at Seapine (University of Cincinnati 2011)
Agile at Seapine (University of Cincinnati 2011)Agile at Seapine (University of Cincinnati 2011)
Agile at Seapine (University of Cincinnati 2011)
 
Monitoring Quality Metrics to Know When to Ship
Monitoring Quality Metrics to Know When to ShipMonitoring Quality Metrics to Know When to Ship
Monitoring Quality Metrics to Know When to Ship
 

Kürzlich hochgeladen

Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
lizamodels9
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
amitlee9823
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
Renandantas16
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
amitlee9823
 

Kürzlich hochgeladen (20)

Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 

Moneyball and the Science of Building Great Testing Teams

  • 1. Moneyball and the Science of Building Great Testing Teams Peter Varhol Seapine Software
  • 2. © 2011 Seapine Software, Inc. All rights reserved. Moneyball is About Baseball
  • 3. © 2011 Seapine Software, Inc. All rights reserved. But It’s Also About Building Great Teams
  • 4. © 2011 Seapine Software, Inc. All rights reserved. Oakland Had a Problem • There are rich teams and there are poor teams, then there's fifty feet of crap, and then there's us.
  • 5. © 2011 Seapine Software, Inc. All rights reserved. How Do You Build Great Teams? • Baseball experts didn’t know a number of things • Getting on base is highly correlated with winning games • Pitching is important but not a game-changer • Fielding is over-rated • In general, data wins out over expert judgment • Bias clouds judgment
  • 6. © 2011 Seapine Software, Inc. All rights reserved. What Does This Have to Do With Testing? • We maintain certain beliefs in testing practice • Which may or may not be factually true • That bias can affect our testing results • How do bias and error work? • We may be predisposed to believe something • That affects our work and our conclusions
  • 7. © 2011 Seapine Software, Inc. All rights reserved. Let’s Consider Human Error • Thinking, Fast and Slow – Daniel Kahneman • System 1 thinking – fast, intuitive, and sometimes wrong • System 2 thinking – slower, more deliberate, more accurate
  • 8. © 2011 Seapine Software, Inc. All rights reserved. Consider This Problem • A bat and ball cost $1.10 • The bat cost one dollar more than the ball • How much does the ball cost?
  • 9. © 2011 Seapine Software, Inc. All rights reserved. Where Does Error Come In? • System 1 thinking keeps us functioning • Fast decisions, usually right enough • Gullible and biased • System 2 makes deliberate, thoughtful decisions • It is in charge of doubt and unbelieving • But is often lazy • Difficult to engage
  • 10. © 2011 Seapine Software, Inc. All rights reserved. Where Does Error Come In? • What are the kinds of errors that we can make, either by not engaging System 2, or by overusing it? • Priming • Halo effect • Heuristics • Regression to the mean
  • 11. © 2011 Seapine Software, Inc. All rights reserved. The Role of Priming • System 1 can be influenced by prior events • How would you describe your financial situation? • Are you happy? • People tend to be primed by the first question • And answer the second based on financial concerns
  • 12. © 2011 Seapine Software, Inc. All rights reserved. The Role of Priming • If we are given preconceived notions, our instinct is to support them • We address this by limiting advance advice/ opinions • “They were primed to find flaws, and that is exactly what they found.”
  • 13. © 2011 Seapine Software, Inc. All rights reserved. The Halo Effect of Thinking • Favorable first impressions influence later judgments • We want our first impressions to be correct • Provides a simple explanation for results • Cause and effect get reversed • A leader who succeeds is decisive; the same leader who fails is rigid
  • 14. © 2011 Seapine Software, Inc. All rights reserved. The Halo Effect of Thinking • Controlling for halo effects • Facts and standards predominate • Resist the desire to try to explain
  • 15. © 2011 Seapine Software, Inc. All rights reserved. The Role of Heuristics • We unconsciously form rules of thumb • That enable us to quickly evaluate a situation and make a decision • No thinking necessary • System 1 in action
  • 16. © 2011 Seapine Software, Inc. All rights reserved. The Role of Heuristics • Sometimes heuristics can be incomplete or even wrong • And we make mistakes
  • 17. © 2011 Seapine Software, Inc. All rights reserved. The Anchoring Effect • Expectations play a big role in results • Suggesting a value ahead of time significantly influences our prediction • It doesn’t matter what the value is
  • 18. © 2011 Seapine Software, Inc. All rights reserved. Regression to the Mean • We seek causal reasons for exceptional performances • But most of the time they are due to normal variation
  • 19. © 2011 Seapine Software, Inc. All rights reserved. Regression to the Mean • “When I praise a good performance, the next time it’s not as good.” • “When I criticize a poor performance, it always improves the next time.” • But achievement = skill + luck • Praise or criticism for exceptional performances won’t help
  • 20. © 2011 Seapine Software, Inc. All rights reserved. Regression to the Mean • But we believe in the value of experts • Even when those experts are often wrong • And we discount algorithmic answers • Even when they have a better record than experts • We take credit for the positive outcome • And discount negative ones
  • 21. © 2011 Seapine Software, Inc. All rights reserved. Regression to the Mean • Are expertise and expert intuition real? • Yes, under certain circumstances • A domain with largely unchanging rules and circumstances • Years of work to develop expertise • But even experts often don’t realize their limits
  • 22. © 2011 Seapine Software, Inc. All rights reserved. And About Those Statistics • We don’t believe they apply to our unique circumstances! • We can extrapolate from the particular to the general • But not from the general to the particular
  • 23. © 2011 Seapine Software, Inc. All rights reserved. Thinking About Testing
  • 24. © 2011 Seapine Software, Inc. All rights reserved. Thinking About Testing • We don’t know the quality of an application • So we substitute other questions • Number and type of defects • Performance or load characteristics
  • 25. © 2011 Seapine Software, Inc. All rights reserved. Thinking About Testing • Those we can answer • But do they relate to the question on quality? • It depends on our definition of quality • We could be speaking different languages • Quality to users may be different
  • 26. © 2011 Seapine Software, Inc. All rights reserved. Thinking About Testing • With simple rote tests, System 1 is adequate • The process is well-defined • Exploratory testing engages System 2 • Exploratory testing is a good change of pace • Too much exploratory testing will wear you out
  • 27. © 2011 Seapine Software, Inc. All rights reserved. Lessons to Testing • Recognize and reduce bias • Preconceived expectations of quality will influence testing • Even random information may affect results
  • 28. © 2011 Seapine Software, Inc. All rights reserved. Lessons to Testing • Automation is more than simply an ROI calculation • It reduces bias and team errors • Workflow, test case execution, and defect tracking can especially benefit
  • 29. © 2011 Seapine Software, Inc. All rights reserved. Lessons to Testing • We estimate badly • We assume the best possible outcomes on a series of tasks • Past experience is the best predictor of future performance • Use your data • But add value after the fact
  • 30. © 2011 Seapine Software, Inc. All rights reserved. How Can We Build a Great Team?
  • 31. © 2011 Seapine Software, Inc. All rights reserved. How Do You Build Great Teams • You minimize error in judgment • Recognize and reduce bias • You keep people sharp by not continually stressing them • Overwork can make thinking lazy
  • 32. © 2011 Seapine Software, Inc. All rights reserved. How Can We Build Great Teams? • Choose great testers • Choose team members who exhibit the characteristics of great testers • Not necessarily those whose resume matches the job description
  • 33. © 2011 Seapine Software, Inc. All rights reserved. How Can We Build Great Teams? • What are the characteristics of great testers? • Mix of System 1 and System 2 thinking • Creativity • Curiosity • Willingness to question and question • Ability to see the big picture • Focus and perseverance • Team player, but able to work individually
  • 34. © 2011 Seapine Software, Inc. All rights reserved. How Can We Build Great Teams? • Who exhibits those characteristics? • The usual suspects • But who else? • Scientists • Marathon Runners • Fashion Designers
  • 35. © 2011 Seapine Software, Inc. All rights reserved. How Can We Build Great Teams? • Preconceived expectations of quality will bias us • Keep expectations to a minimum • Avoid groupthink • Once the team has agreed, ask them how the plan can fail • Re-evaluate the plan in this light
  • 36. © 2011 Seapine Software, Inc. All rights reserved. Building a Great Team • Vary rote and exploratory testing • Explore a portion of the application • Then run test cases • System 1 and System 2 are exercised in succession
  • 37. © 2011 Seapine Software, Inc. All rights reserved. Building a Great Team • Expertise is good up to a point • But experts need to be certain of the limits of their expertise • Experts shouldn’t make the decisions • But they can provide input • Must be willing to work from data
  • 38. © 2011 Seapine Software, Inc. All rights reserved. Building a Great Team • Becoming skillful at testing • But learn broad rather than deep • Expertise may be more of a hindrance • Seek jacks-of-all-trades
  • 39. © 2011 Seapine Software, Inc. All rights reserved. Summary • Testing is influenced by a variety of thinking errors • Understanding how people think can make us attuned to the errors we make • We can adapt our approach to testing and team management to account for errors • Expertise matters, but only to a point
  • 40. © 2011 Seapine Software, Inc. All rights reserved. For More Information • Moneyball, a movie starring Brad Pitt • Moneyball, a book by Michael Lewis • The King of Human Error, Vanity Fair • Thinking, Fast and Slow, a book by Daniel Kahneman • The Halo Effect, a book by Philip Rosenzweig
  • 41. © 2011 Seapine Software, Inc. All rights reserved. Questions? Seapine Software – www.seapine.com The Seapine View - http://blogs.seapine.com/
  • 42. © 2011 Seapine Software, Inc. All rights reserved. Thank you Peter Varhol varholp@seapine.com Seapine Software http://www.seapine.com

Hinweis der Redaktion

  1. The Oakland Athletics major league baseball team had a big problem. It had a payroll that was a tenth the size of the very best teams in the league, and it had to field a winning team in order to remain profitable in its small market. Its general manager, Billy Beane, started looking deeply into the characteristics that produced winning teams.
  2. What Billy Beane did was take what he had available, and make a winning team, year after year. With some research, he understood the errors others were making in evaluating players and teams, and figured out how not to make the same errors.
  3. You likely have a similar problem to what Billy Beane defined here. What do you do when you seemingly lack the resources to build a team and perform testing in ways that seem ideal?
  4. In Moneyball, Billy Beane discovered that the “experts” selected players who looked like their ideal of a baseball player, whether or not that person could actually improve their team. There was also a lack of understanding of what characteristics really won games over the course of a season.Beane wanted to build a competitive team, but didn’t have the budget to do it the way large market teams did. So instead he began paying attention to why teams chose the players they did. After examining a lot of baseball data that was just becoming available, he found that there were some clear truths that weren’t acknowledged by any of the experts.These experts had many years in judging talent, and believed they were the best at doing so. But that was their bias talking.
  5. Our beliefs influence our practice and our results. Beane looked at what others believed, and discovered that they were wrong. Their expertise was really a source of bias that came to incorrect conclusions.We do the same thing in testing. We typically come into a project with a set of biases that we may not even be aware of. The next 15 slides describes some of those biases, and how they affect our thinking.
  6. Daniel Kahneman, in his book Thinking, Fast and Slow, defines two types of thinking. He calls them System 1 and System 2 thinking.These, of course, are models, and don’t have any physical representation in the brain or elsewhere.
  7. 50-80 percent of college students get it wrong. Why? Because we think we know the answer without any further thought. It’s an error of System 1 thinking.
  8. Daniel Kahneman has developed a model that divides thinking into two components, which he calls System 1 and System 2. System 1 is immediate, reflexive thinking that is for the most part unconscious in nature. We do this sort of thinking many times a day. It keeps us functioning in an environment where we have numerous external stimuli, some important, and many not.System 2 is more deliberate thought. It is engaged for more complex problems, those that require mental effort to evaluate and solve. System 2 makes more accurate evaluations and decisions, but it can’t respond instantly, as is required for many types of day-to-day decisions. And it takes effort, which means it can tire out team members.
  9. When we answer the second question, with intuitively think of our financial situation in defining the answer. That often means that our answer is based on our thought surrounding the prior question. We have been “primed” to think in a certain way.While plastic is convenient, it's also a threat to thrift: A 2011 study found that people paying with cash think more about a purchase's costs; those using credit dwell more on the benefits -- and are primed to pay more.
  10. If we are already thinking about something, those thoughts will influence our subsequent image of the situation, and any decisions that arise out of that situation. If we believe our software has defects because of complexity, confusion, or poor practices, we will likely find more defects than if we believed it was of high quality.
  11. This error is familiar to most of us, because we often let first impressions dictate our subsequent beliefs and actions. We do this because we want to see ourselves as good judges of people and situations.But the halo effect is more than this. It also enables us to judge, or even change our judgments, based on subsequent events. We may believe that our manager is decisive because he/she has a ready decision whenever we ask. But in times of crisis, that same decisiveness may be perceived as rigidity, because they aren’t able to easily process new information and adjust decisions accordingly.
  12. How do we deal with our instinct for early judgment?
  13. How many of you have ever had pilot training? Years ago, in a PA-28 Cherokee 140 like this one, my instructor put me “under the hood” in practicing recovery from unusual attitudes. With the hood down, he put the plane into unusual flying positions from which I had to recover as quickly as possible. When he brought the hood up, I could see only the instrument panel. I rapidly developed a heuristic that enabled me to quickly identify and correct an unusual attitude. In short, I focused on the turn indicator and artificial horizon, and worked to center both of them.My instructor figured out what I was doing, and I did the same thing the next time. My turn indicator and artificial horizon were centered, but I was still losing over 1000 feet a minute! I was stumped. My instructor had “crossed” the controls, leaving me in a slip that my heuristic couldn’t account for. I was worse than wrong; I couldn’t follow through at all once my heuristic failed. I never forgot that experience.
  14. Kahneman had subjects spin a wheel of fortune rigged to stop at either 35 or 65, then asked a question on how many African nations were in the UN. The result of the wheel of fortune demonstrably swayed people’s subsequent answer up or down, even though it had no relationship to the question. They were anchored to a particular number, and that number influenced their subsequent guess.
  15. Exceptionally good or bad performances are probably due in large part to very good luck. Skill plays a role, but not as much as we believe. People can still be good or poor at a particular task, but luck is a variable on top of that skill.
  16. The praise or criticism has nothing to do with it. An exceptional performance is almost certainly in part due to a large measure of luck (good or bad).
  17. That leads to the question of why dowe believe experts? Their analysis and forecasts may overall be better than chance, but they almost certainly won’t be exceptionally good. It seems we like experts who take strong stands or say controversial things, for the theater value. We also like it when experts are right, but both they and we tend to discount the times that they are wrong.
  18. Do you watch House, MD? (starring Hugh Laurie) House deals with complex medical cases, and he is typically wrong in his diagnoses 3-4 times before he gets it right. It’s TV, certainly, but he is in a noisy data environment, and can’t really be expected to develop an intuition about cases that are all one-of-a-kind.
  19. Kahneman was part of a group building a new national curriculum. At one point he asked the group how long they thought it would take for them to finish. In a secret ballot, their collective answer was about two years.He then asked a member of the group experienced in doing that task how other groups had fared in the past. This person paused and said “About 40 percent didn’t finish at all, and the rest took between 7-10 years. He also offered the opinion that their particular team was slightly below average in ability at the task.At that point, they should have abandoned the project as a bad bet. Yet they believed their result would turn out different. Ultimately, it took 8 years to complete, and their curriculum was never put into use.
  20. How can we apply these often-surprising facts about thinking to testing activities and testing teams?
  21. While we use the word quality a lot, much of the time we really don’t know what we’re talking about. It’s an abstraction. So instead, we substitute operational definitions based on things we do know, and data we can collect and analyze.
  22. We have operational definitions of quality – definitions that we can measure. Sometimes we explicitly draw a connection between them and quality, and sometimes we just assume that some relationship exists. But we may not know precisely what we mean by quality. And our definition of quality may well be different than that of our users or customers.
  23. How about exploratory testing as a System 2 stimulant? Exploratory testing seeks to find out how the software actually works, and to ask questions about how it will handle difficult and easy cases. In reality, testing almost always is a combination of exploratory and scripted testing, but with a tendency towards either one, depending on context.Going back and forth between exploratory testing and writing and running individual test cases makes it possible to shift between System 1 and System 2 thinking, and also make it possible to more readily engage System 2 thinking when System 1 is likely to fail. Consciously going back and forth between the two thinking models has the potential to make both better and more responsive.
  24. Unintentional bias is a big cause of testing and assessment errors.
  25. Automation helps reduce bias by standardizing process, including tests, workflows, and defect tracking. However, it also produces a high level of System 1 thinking, so it shouldn’t be relied on exclusively. We see the results of the automated test, decide based on bias or heuristics, and move on.Automation needs to be supplemented with active manual activities that bring out System 2 decision-making, such as exploratory testing or reporting that enables testers to visualize data.
  26. This should come as no surprise to anyone. We estimate both time to test (and to develop) as though everything goes like clockwork. Life isn’t like that. We have meetings, time off, rework, more meetings, and other things that prevent us from devoting 100 percent of our time toward our direct work. People leave for other jobs, and hiring and training replacements is time-consuming.Instead of estimating based on your expertise, look carefully at past experiences. Those are your best guide to estimating future projects. Make use of data from those projects and use that data as a starting point for estimating. You may adjust those estimates based on greater expertise or better automation, but don’t do so without a good reason.
  27. Bias is common in our judgments, even if it is fully unintended and unrecognized. I’ve described several types of bias. The best way to guard against them in building a team is to engage System 2 thinking, rather than working on autopilot (System 1).In managing people, we need to establish a balance between automatic work (driven in large part by automation) and thought work, driven by more difficult problems and decisions. Too much of either can result in errors in judgment and fatigue, which can cause us to make mistakes in testing and project work.
  28. We have opinions of the value and quality of software projects before even starting them. These expectations will invariably skew our approaches, and result in mistakes in judgment and decisions. We can temper these expectations with group efforts to consider the opposite expectation, and come up with reasons why our initial opinions may be in error.We often agree to not rock that boat. That means that the loudest (or most senior) ideas win out, without a good vetting.One strategy for avoiding groupthink is to tell the team that a year from now, the plan has clearly failed. Ask them to individually write down their “pre-mortem” of the failure. These pre-mortems should then be evaluated by the group to see if the plan is really as good as they thought it was.
  29. How can System 1 and System 2 thinking effectively interact? Consider varying the two in a tester’s work. System 1 thinking involves rote activities, such as manual testing (from existing test cases) and automated testing. System 2 thinking is invoked in exploratory testing, context-driven testing, and data analysis. Formal meetings often give rise to System 1 thinking, while in-depth one-on-one conversations engage System 2.
  30. It’s always good to have specific expertise on testing teams; however, you have to use that expertise effectively. You should know the limits of your experts, and call upon their expertise when you have enough information available for them to make a difference.
  31. I knew an expert programmer. In fact, he was an expert C programmer using Borland Turbo C 3.0. He knew that product like no one else. But his expertise quickly disappeared as other languages and tools gained popularity. For a brief period, he commanded a high salary, but wasn’t able to easily transition into newer technology trends.This argues for a broad rather than deep skill set. Testers and other team members should be able to fill multiple roles, and feel comfortable with knowing what they don’t know. It is easier to acquire knowledge just-in-time, and it has the potential to reduce bias. Expertise still has value, but only if that expertise directly applies to the problem domain.
  32. In summary, our projects are influenced in a number of ways by how we think about them. Some of those thought processes can be in error. I’ve discussed several common errors of thinking, based on Kahneman’s theories. And I hope I’ve provided a few ideas on how we can adapt and account for our errors in the realm of software projects and testing.