17
"Silence is Golden" The power of test case immunity T Ashok Founder & CEO, STAG Software Architect - HBT in.linkedin.com/in/AshokSTAG ash_thiru

Silence is golden The power of test case immunity

Embed Size (px)

Citation preview

Page 1: Silence is golden The power of test case immunity

"Silence is Golden"The power of test case immunity

T AshokFounder & CEO, STAG SoftwareArchitect - HBT

in.linkedin.com/in/AshokSTAG ash_thiru

Page 2: Silence is golden The power of test case immunity

© 2012. STAG Software Private Limited. All rights reserved.

SUTTest Cases

Defects

NO defects"Silence"

execute

Page 3: Silence is golden The power of test case immunity

© 2012. STAG Software Private Limited. All rights reserved.

SUTTest Cases

Defects

NO defects"Silence"

execute

Typically we FOCUS on defectsto assess software/test qualityby analysing defect rates, densities, distribution etc.

As time progresses, defect yield drops. Then what do we analyze?

Page 4: Silence is golden The power of test case immunity

© 2012. STAG Software Private Limited. All rights reserved.

SUTTest Cases

Defects

NO defects"Silence"

execute

Hmmm. What do we analyse?

Analyse the "NOTHING" - the SILENCE!

Page 5: Silence is golden The power of test case immunity

© 2012. STAG Software Private Limited. All rights reserved.

The Pesticide Paradox

"A poor farmer loses his crop and is advised to use pesticide. The next season, he sprays the crop with DDT killing the pests and improving the yield. A few seasons later, the pests become resistant to DDT and now he is advised to switch to a different pesticide 'Malathion'. The yield improves but the story repeats again after a few seasons.

Page 6: Silence is golden The power of test case immunity

© 2012. STAG Software Private Limited. All rights reserved.

The Pesticide Paradox

"The pest that you kill with a pesticide, makes the pest resistant to that pesticide".

This is the story of pesticide paradox, wonderfully illustrated by Dr Boris Bezier in his classic book "Software Testing Techniques". 

"A poor farmer loses his crop and is advised to use pesticide. The next season, he sprays the crop with DDT killing the pests and improving the yield. A few seasons later, the pests become resistant to DDT and now he is advised to switch to a different pesticide 'Malathion'. The yield improves but the story repeats again after a few seasons.

Page 7: Silence is golden The power of test case immunity

© 2012. STAG Software Private Limited. All rights reserved. 6

What is this?

Page 8: Silence is golden The power of test case immunity

© 2012. STAG Software Private Limited. All rights reserved.

What can we learn from this?

7

If you choose to see defect information only, analyse & use these to make choices, then you are limited.

Page 9: Silence is golden The power of test case immunity

© 2012. STAG Software Private Limited. All rights reserved.

What can we learn from this?

7

If you choose to see defect information only, analyse & use these to make choices, then you are limited.

On the contrary if you see "no-defect" (i.e absence of defect) and at the same time shifting to a higher level view of seeing 'defect types'(rather the raw defects), you see new information that could be far more useful!

Page 10: Silence is golden The power of test case immunity

© 2012. STAG Software Private Limited. All rights reserved.

Examine the"categories of empty space" (i.e absent defect types).

Silence is Golden.

Page 11: Silence is golden The power of test case immunity

© 2012. STAG Software Private Limited. All rights reserved.

Examine the"categories of empty space" (i.e absent defect types).

Silence is Golden.

Reflect. See the power within.

Page 12: Silence is golden The power of test case immunity

SUTTest Cases

Defects

NO defects"Silence"

execute

PDT1PDT2PDT3PDT4PDT4

PDT1PDT2PDT3

PDT4

PDT5

© 2012. STAG Software Private Limited. All rights reserved.

i.e. These types of defects are NOT present

Defect typing & interpretation...

PDTPotential Defect Type

Page 13: Silence is golden The power of test case immunity

SUTTest Cases

Defects

NO defects"Silence"

execute

© 2012. STAG Software Private Limited. All rights reserved.

i.e. These types of defects are NOT present

Test Immunity. Hardening.

PDT1PDT2PDT3PDT4PDT4

PDT1PDT2PDT3

PDT4

PDT5

Page 14: Silence is golden The power of test case immunity

SUTTest Cases

Defects

NO defects"Silence"

execute

© 2012. STAG Software Private Limited. All rights reserved.

i.e. These types of defects are NOT present

Test Immunity. Hardening.

Fault traceability

Countability

Do Less. Prove test cases are COMPLETE

PDT1PDT2PDT3PDT4PDT4

PDT1PDT2PDT3

PDT4

PDT5

Page 15: Silence is golden The power of test case immunity

© 2012. STAG Software Private Limited. All rights reserved.

HypothesizePotential Defect Types

Nine Stage Defect Removal FilterCleanliness Assessment

SetupCleanliness Criteria

SUT

Click here to know more about HBT.http://stagsoftware.com/blog?p=570

HBT : Hypothesis Based Testing A Quick Introduction Personal, scientific test methodology.

SIX stage methodology powered by EIGHT disciplines of thinking (STEMTM).

Page 16: Silence is golden The power of test case immunity

© 2012. STAG Software Private Limited. All rights reserved.

On a different note,we now know that empty space consists of dark matter that cannot be seen but probably shapes our universe.

Page 17: Silence is golden The power of test case immunity

© 2012. STAG Software Private Limited. All rights reserved. 14

See the unseen. Enough philosophy. Have a great conference.

Thank you.

HBT is the intellectual property of STAG Software Private Limited.STEMTM is the trademark of STAG Software Private Limited.

@stagsoft

blog.stagsoftware.com

www.stagsoftware.com