detection via testing hbt - siliconindia...pdt2 pdt1 pdt4 pdt3 pdt6 pdt5 pdt7 tt1 tt2 tt4 tt5 tt3...

14
Session at SOFTTEC 2010 Conference, Bangalore (July 3, 2010) T Ashok (ash@stagsoftware.com ) Founder & CEO, STAG Software (www.stagsoftware.com ) Accelerate defect detection via Hypothesis Based Testing (HBT)

Upload: others

Post on 23-Apr-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Session at SOFTTEC 2010 Conference, Bangalore (July 3, 2010)T Ashok ([email protected])

Founder & CEO,STAG Software (www.stagsoftware.com )

Accelerate defect detection via Hypothesis Based Testing (HBT)

Page 2: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Copyright 2010, STAG Software Private Limited

How can we get to a place faster?

1. Buy a faster vehicle2. Find a shorter route

3. Know the route clearly4. Be clear where you want to go! (Clear goal)5. Negotiate trouble quickly(Adapt/Adjust)

6. Detour less (i.e. less backtracking)

7. Drive carefully (lane & driving discipline)

8. Keep track of where you are9. Use good vehicle & fuel (good technology)

10.Use learnings from others who have used that route

2

Page 3: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Copyright 2010, STAG Software Private Limited 3

Expanding “Wave of Acceleration”

Process optimization

Execution acceleration

Intellectualleverage

Asset leverage

OrgToo

lingPerson

History

Page 4: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Copyright 2010, STAG Software Private Limited 4

Process optimization

Execution acceleration

Intellectualleverage

Asset leverage

OrgToo

lingPerson

History

1

2

34

56

7

8

9

10

5

67

2

1. Buy a faster vehicle2. Find a shorter route3. Know the route clearly

4. Be clear where you want to go! (Clear goal)5. Negotiate trouble quickly(Adapt/Adjust)6. Detour less (i.e. less backtracking)

7. Drive carefully (lane & driving discipline)8. Keep track of where you are

9. Use good vehicle & fuel (good technology)10. Use learnings from others who has used that route

Page 5: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Copyright 2010, STAG Software Private Limited 5

Needs

Expectations

1. Be clear where you want to go! (Clear goal)

End usersRequirementsFeaturesAttributesUsage

MarketplaceEnvironmentBusiness value

Cleanliness criteria

What do I want?

How good? }Example: Clean Water implies1.Colourless2.No suspended particles3.No bacteria4.Odourless

Accelerate understanding/ramp-up

Page 6: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Copyright 2010, STAG Software Private Limited 6

2. Know the route clearly3. Use learnings from others

Cleanliness criteria

What types of defects do I need to uncover?

Example:Data validationTimeoutsResource leakageCalculationStoragePresentationTransactional ...

Hypothesiz

e

potentia

l d

efect T

ypes

Potential defect types

Accelerate goal clarity

Page 7: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Copyright 2010, STAG Software Private Limited 7

4. Find a shorter route (optimal)

Test types

PDT2PDT1

PDT4PDT3

PDT6PDT5

PDT7

TT1TT2

TT4

TT5

TT3

Potential defect types

Staged & purposeful detection Optimize testing

Quality levels

PDT4PDT3

PDT6PDT5

PDT7

PDT1

PDT2 PDT:Potential Defect Types

QL1

QL2

QL3

Page 8: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Copyright 2010, STAG Software Private Limited 8

5.Drive carefully6.Detour less

Staged & purposeful detection

Cover more ground

Test Scenarios/Cases

TTTS1 TC1,2,3

TS2 TC4,5,6,7

R1

R2

R3

PDT1

PDT2

PDT3

Requirements & Fault traceability

Complete test cases

Page 9: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Copyright 2010, STAG Software Private Limited 9

7. Buy a faster vehicle8. Use good vehicle & fuel (good technology)

Staged & purposeful detection

Move fast

Better ROI

Sensible automation

Tooling and scripts

Page 10: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Copyright 2010, STAG Software Private Limited 10

9. Keep track of where you are10.Negotiate trouble quickly

Course correct quickly

Complete test cases

Sensible automation

Quality Index

QL1

QL2

QL3

Quality, Progress & Risk

Goal directed measures

Page 11: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Cover more ground

Optimize testing

Copyright 2010, STAG Software Private Limited 11

Complete test cases

Sensible automationGoal directed measures

Staged & purposeful detection

Potential defect typesCleanliness criteria

Course correct quickly Move fast

Accelerate understanding Accelerate goal clarity

Expectations

Page 12: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Copyright 2010, STAG Software Private Limited 12

Process optimization

Execution acceleration

Intellectualleverage

Asset leverage

OrgToo

lingPerson

History

1

2

34

56

7

8

9

10

5

67

2

Accelerate understandingAccelerate goal clarityOptimize TestingCover more groundMove fastCourse correct quickly

Reordered...

4. Be clear where you want to go!3. Know the route clearly

10. Use learnings from others who has used that route 2. Find a shorter route7. Drive carefully (lane & driving discipline)

6. Detour less (i.e. less backtracking)1. Buy a faster vehicle

9. Use good vehicle & fuel (good technology)8. Keep track of where you are5. Negotiate trouble quickly

(Adapt/Adjust)

Page 13: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Copyright 2010, STAG Software Private Limited

HBT Pictorial

13

Potential Defect Types(PDT)

PD PD PD

Cleanliness criteria

Functional aspects

Non-functional aspects

Quality Index

QL1

QL2

QL3

Test Scenarios/Cases

TTTS1 TC1,2,3

TS2 TC4,5,6,7

R1

R2

R3

PDT1

PDT2

PDT3

Needs

Expectations

PDT1

Quality levels

PDT2

PDT4PDT3

PDT6PDT5

PDT7

Test types

PDT2PDT1

PDT4PDT3

PDT6PDT5

PDT7

TT1TT2

TT4

TT5

TT3

Tooling and scripts

Page 14: detection via Testing HBT - SiliconIndia...PDT2 PDT1 PDT4 PDT3 PDT6 PDT5 PDT7 TT1 TT2 TT4 TT5 TT3 Potential defect types Staged & purposeful detection Optimize testing Quality levels

Copyright 2010, STAG Software Private Limited

HBT Results

14

Re-architecting test assets increases test coverage by 250%

10x reduction in post-release defects

30% defect leakage reduction from early stage

Terse requirement - Holes found & fixed at Stage#1

Test assessment accelerates integration

Smart automation - 3x reduction in time

Thank you - Have a great day!