• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Bug deBug Chennai 2012 Talk - How many hairs do you have on your head by T Ashok
 

Bug deBug Chennai 2012 Talk - How many hairs do you have on your head by T Ashok

on

  • 918 views

As a professional tester, we encounter a variety of situations that require us to ...

As a professional tester, we encounter a variety of situations that require us to
come up with a value/number. In these cases, we do find it difficult to deal with
uncertainty, of those aspects whose “countability” is fuzzy. So the typical answers
seem to be based on seat-of-the-pants approach. In the few cases where we’ve
encountered a similar situation and solved it well, the estimates turn out to be
correct, otherwise it’s simply a shot in the dark, praying to God that it turns out to
be correct.

Just because we don’t see a direct connect to this value does not mean that we
resort to “guesswork”. What is needed is scientific approximation, the keyword is
scientific. It is important to understand that an exact value may not be required,
rather it is the reasoning that allows us to come up with a value, and constantly
improving the reasoning to better the value.

Scientific approximations are vital to good testing to estimate effort, data sizes,
#users and so on. This talk is about understanding how we can do approximations
scientifically. Try it on your head!

Statistics

Views

Total Views
918
Views on SlideShare
916
Embed Views
2

Actions

Likes
0
Downloads
23
Comments
0

1 Embed 2

https://twitter.com 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Bug deBug Chennai 2012 Talk - How many hairs do you have on your head by T Ashok Bug deBug Chennai 2012 Talk - How many hairs do you have on your head by T Ashok Presentation Transcript

    • “How many hairs do you have on your head?” Scientific approximationsT AshokFounder & CEO, STAG SoftwareArchitect-HBT in.linkedin.com/in/AshokSTAG ash_thiruMar 24, 2012
    • So what is the answer? © 2012. STAG Software Private Limited. All rights reserved.
    • SW Engg staff find it difficultto deal with uncertainty... on aspects whose “countability” is fuzzy.So the typical answers seem to be based on seat-of-the-pants approach.In the few cases where we’ve encountered a similarsituation and solved it well, the estimates turn out tobe correct, otherwise it’s simply a shot in the dark,praying to God that it turns out to be correct. © 2012. STAG Software Private Limited. All rights reserved.
    • An exact value may not be required ... rather it is the reasoning that allows us to come up with a value, and constantly improving the reasoning to better the value. Do not worry about PRECISION for now.. © 2012. STAG Software Private Limited. All rights reserved.
    • Approximation is very natural to us.It is in fact part of our instinct.Think about this :...we do not take measured steps when we walk...we do not calculate the exact distance when reversingthe car and so onOur natural learning system continuously learns in thebackground and constantly adjusts the variables to refinethe approximation. © 2012. STAG Software Private Limited. All rights reserved.
    • “How long would it take to cart Mount Fuji away with dump trucks, one truckload at a time?” Answer is expected to be given in a minute.. This book inspired me to develop the “Approximation Principle” that is a core concept in HBT (Hypothesis Based Testing).© 2012. STAG Software Private Limited. All rights reserved.
    • Scientific Approximations“Approximation Principle” (a core concept in HBT)The measure whose value is to be approximated is based on aset of parameters each having a varying sensitivity to theoutcome, with a formula that binds these.The value of the parameters needs to be hypothesised, ifsensitive, needs to be tested and then the formula applied.Iterate based on learning and potential estimated variation. 1. Identify the various variables 2. Connect them via a simple formula 3. compute the first value 4. Test the value quickly & 5. Refine © 2012. STAG Software Private Limited. All rights reserved.
    • Scientific approximations are vital to effective testing .. to estimate effort.. ... to estimate #test cases ... to estimate volume (data sizes) ... to estimate load and so on.. © 2012. STAG Software Private Limited. All rights reserved.
    • Estimating #Test Cases(Functionality Test)Test Case is a combination of inputsTC = {I1} x {I2} x {I3}But it is bad idea to start from here!Let us step back..To validate an entity under test,estimate #test scenarios (TS) &then TC.Test Scenario is acombination of conditions.Using approximation of #TC/TS,estimate #TC. What do you is the #TS? © 2012. STAG Software Private Limited. All rights reserved.
    • Estimating Data Volumes.. What is the volume of data that is typically created in year? © 2012. STAG Software Private Limited. All rights reserved.
    • Estimating LoadDepends on Operations, Users,#Trains, #Seats/#Berths/train... © 2012. STAG Software Private Limited. All rights reserved.
    • After trying it on your head,Use your head for doing this.Cheers! Have a great conference. Follow us @stagsoft Check out our blog at www.stagsoftware.com/blog © 2012. STAG Software Private Limited. All rights reserved.