stuart reid - when passion obscures the facts:the case for evidence-based testing - eurostar 2010

42
When Passion Obscures the Facts: The Case for Evidence-Based Testing Stuart Reid Testing Solutions Group 117 Houndsditch London EC3 UK Tel: 0207 469 1500 Fax: 0207 623 8459 www.testing-solutions.com ©Stuart Reid, 2010

Upload: eurostar-software-testing-conference

Post on 01-Jul-2015

2.069 views

Category:

Technology


1 download

DESCRIPTION

EuroSTAR Software Testing Conference 2010 presentation on When Passion Obscures the Facts:The Case For Evidence-Based Testing by Stuart Reid. See more at: http://conference.eurostarsoftwaretesting.com/past-presentations/

TRANSCRIPT

Page 1: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

When Passion Obscures the Facts:

The Case forEvidence-Based Testing

Stuart Reid

Testing Solutions Group

117 Houndsditch

London EC3

UKTel: 0207 469 1500Fax: 0207 623 8459

www.testing-solutions.com

©Stuart Reid, 2010

Page 2: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

How not to write an abstract…?

For many years we have enjoyed (and sometimes endured) the debates between rival factions in the software testing community. These factions can be labelled into schools of testing, such as the context-driven, standard, analytic, and quality schools, although many simplify this to the context-driven versus the rest. Proponents are equally passionate both for and against, but passion is often used to conceal a lack of real evidence supporting the opposing positions. We see „evangelists‟ on both sides making claims and it is often those who speak the loudest, those who speak most persuasively, and those who appear the most passionate swaying opinion mainly by sheer force of personality.

This presentation will identify which claims are supported by valid evidence, which claims disagree with the available evidence, and those claims where there is currently insufficient evidence to reasonably support a claim one way or the other.

Page 3: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Adult Testing Blogs…?

• “There are bad people in the world…”

• “That is, let’s cry havoc and let slip the dogs of… testing.”

• “I won't be put out if one of you bigger dogs gets on him first."

Page 4: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Passion, charisma……facts?

• Have you believed everything you‟ve heard so far at this conference?

• Who do you trust?

• Are you part of a „testing school‟?

– Does it need defending from outsiders?

– Or does your school defend the industry?

– Does it make your views more extreme?

• How easily do you change your mind?

• Don‟t believe me – try using the evidence…

Page 5: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Evidence-based medicine (EBM)

• EBM aims for the ideal that healthcare professionals should make "conscientious, explicit, and judicious use of current best evidence" in their everyday practice

– Wikipedia

Gathering the

evidence

Using the evidence

providersresearchers

Page 6: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Evidence-based practice

what do you need to know?

finding the evidence

appraising the evidence

applying the results

Page 7: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Medical Evidence - sources

1• meta-analysis (of randomized controlled trials)

2 • randomized controlled trials

3• controlled studies without randomisation

4• well-designed quasi-experimental studies

5• case studies, etc.

6• expert reports, opinions and/or clinical experience

Page 8: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Gathering evidence

# studies

confidence in evidence

opinion

fact

testing is too immature to waitfor „facts‟ we don‟t need 100% confidence

Page 9: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

1

2

3

4

5

6

7combined

result

Page 10: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Meta-analysis…..

…saves >10,000 babies from dying in the last 20 years

Page 11: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Evidence-based testing

• EBT aims for the ideal that testing professionals should make "conscientious, explicit, and judicious use of current best evidence" in their everyday practice

– Stuart

Gathering the

evidence

Using the evidence

researchers testers

Page 12: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Gathering the testing evidence

1 • meta-analyses

2 • academic research

3 • case studies

4 • literature searches

5 • surveys

6• expert opinion

7 • vendor reports

Page 13: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Providing the testing evidence

• We need to be able to find it

– searchable tags

• We need to know if it applies

– area(s) of applicability

• Level of confidence

– do lots of studies agree?

• Relevant attributes/factors -> context

– where is this evidence valid?

• In a standard format………?

Page 14: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Evidence-based testing practice

what do you need to know?

finding the evidence

appraising the evidence

applying the results

Page 15: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Finding & appraising the evidence

peer journals

academic conferences

text books / education personal experience

commercial conferences magazines

training courses / expert opinions anecdotes

Page 16: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Complexity of evidence

easy to digest

peer journals

academic conferences

text books / education personal experience

commercial conferences magazines

training courses / expert opinions anecdotes

highly complex

Page 17: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Pre-schooler (2-5) diet advice

Page 18: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Kids (6-11) diet advice

Page 19: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Adult dietary advice

Best Antioxidants for Skin

The first signs of aging usually occur when there are wrinkles on the skin. There are various antioxidants for skin that can help in decreasing the aging process. The effects of antioxidants are evident after a long period of time. Consulting a skin doctor before you incorporate any of the antioxidant supplements in your diet is always the safest option you can take. Here are some best antioxidants for skin. Read more on antioxidants: how they work.

VitaminsSun skin creams and lotions are rich in vitamin E and this is so, because the vitamin E in these cosmetics prevents the damage of cell membranes. It is believed that when vitamin E is applied before sun exposure, it helps in lessening the skin redness, swelling and sun burn. A vitamin supplement that suits your skin is a good choice, as an antioxidant. Wheat germ, safflower, corn, soybean oil, mangoes, nuts and broccoli are some foods that are rich in vitamin E. Similarly, there are Vitamin C (ascorbic acid) and Vitamin A (1st antioxidant used for anti-aging) antioxidants, that one can use to control aging process. While vitamin C rich foods are cereals, beef, poultry, and fish vitamin A is found abundantly in potatoes, carrots, milk, egg yolks, and cheese. Read more on best antioxidant supplements.

Cochrane Review Meta-Analysis:“antioxidant supplements--vitamins A, C, and E; beta-carotene; and selenium--do not prevent heart disease or cancer, do not forestall death, and may even increase mortality risk slightly.”

From http://www.buzzle.com/articles/best-antioxidants.html

Nice skin, shame she’s dead!

Page 20: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

A naïve view of the „profession‟

capability

number of testers

Page 21: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Actual IT „Professionals‟

capability

number of IT ‘professionals’ “Process Maturity Profile of the Software Community 2001 Year End Update”, SEI, 2002.

Page 22: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Are testers more capable?

capability

number of testers/developers

Page 23: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

The profile for testers?

capability

number of testers

Page 24: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Testers are not all the same…

20% 20%60%

capability

number of testers

Page 25: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Usability of evidence

capability

complexity of evidence

Page 26: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Usability of evidence

capability

complexity of evidence

Page 27: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Presenting the evidence to testers

Need to be provided with simple rules or guidelines

Should already be competently finding and appraising evidencePLUSShould consider contributing to the guidelines on current best evidence

May need to be trained to find and appraise

evidence

Page 28: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

So, is there any evidence out there……….?

Page 29: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Useful Questions/Evidence?

• Are formal reviews an efficient way of finding defects or are there better alternatives?

• Do testing tools save you money, cost you money or are they simply a distraction?

• Does using standards reduce the probability of project failure?

• Is a certified tester more effective than those without industry certification?

• Will exploratory testing detect more bugs than scripted approaches?

Page 30: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Formal reviews?

confidence

foragainst

85% max. defect removal efficiency

Capers Jones

Page 31: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

System Testing?

confidence

foragainst

40% max. defect removal efficiency

Capers Jones

Page 32: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Automated Static Analysis?

confidence

foragainst

87% max. defect removal efficiency

Capers Jones

Page 33: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Testing tools?

• EuroSTAR 2007 survey

– approx. 600 respondents

• 42% achieved significant benefit

• 33% had reasonable benefit

• 16% had some benefit

• 10% had no benefit from the tools

Page 34: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Synergistic Approach?

confidence

foragainst

99% max. defect removal efficiency

Capers Jones

Page 35: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Standards?

confidence

foragainst

10.78% average defect prevention

Capers Jones

Page 36: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Standards?

confidence

foragainst

8.33% average defect removal

Capers Jones

Page 37: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Certified testers?

confidence

foragainst

7.65% average defect prevention

Capers Jones

Page 38: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Certified testers?

confidence

foragainst

8.5% average defect removal

Capers Jones

Page 39: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Certified testers?

• EuroSTAR 2007 survey

– approx. 600 respondents

• 35% said that they knew more about testing

• 26% got a better job or contract

• 23% said it had no effect

• 17% were better recognised for their testing skills

• 1% reported higher pay

Page 40: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Exploratory testing?

• Will exploratory testing detect more bugs than scripted approaches?

– Yes, if there‟s no time to script and run tests

• Not a useful question

– the two approaches should ideally be used as complementary approaches

Page 41: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Evidence-based testing

what do you need to know?

finding the evidence

appraising the evidence

applying the results

Page 42: Stuart Reid  - When Passion Obscures the Facts:The Case For Evidence-Based Testing - EuroSTAR 2010

Conclusions

• We should base our decisions on all the available evidence

– not restrict ourselves to one or two favourite sources

• More research is needed

– and the results need to be made accessible to all

• Testers are not a homogeneous group

– different capabilities have different needs

– it doesn‟t help the discipline if those with different philosophies spend too much of their time arguing amongst themselves - sorry