Results 1 to 6 of 6

Thread: How to Find minimum number of test cases for particular case

  1. #1
    Junior Member
    Join Date
    Apr 2007
    Answers
    3

    How to Find minimum number of test cases for particular case

    Suppose we have 9 boxes out of which 8 are in good condition and 1 is in bad condition. Then what will be the minimum no. of test cases to find out the bad condition box out 9 boxes.


  2. #2
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Re: How to Find minimum number of test cases for particular case

    Hi Pradeep,

    The answer to your question would entirely depend on the case you are considering.

    Case I
    Incase the boxes are independent of each other, finding out the bad condition box could be covered as part of a single testcase.
    Incase we follow automated testing, each box could be passed as data parameter and necessary checks could be verified.

    Also what is the criteria to consider a box as bad condition would also decide the number of cases.

    Case II
    Incase Boxes are dependent where we have to consider the compatibility of box with another,the number of cases would go up.

    In short before deciding the number of cases for any scenario, we would consider the following -
    1) The components involved in testing and their inter - dependecies.
    2) Criteria to consider for qualifying a test as pass / fail
    3) Dependency of other outside systems on the AUT

    Let me know if this clears things a bit up........

    Cheers...

    Bizzzzzare


  3. #3
    Junior Member
    Join Date
    Oct 2007
    Answers
    2

    Re: How to Find minimum number of test cases for particular case

    Quote Originally Posted by pradeepk View Post
    Suppose we have 9 boxes out of which 8 are in good condition and 1 is in bad condition. Then what will be the minimum no. of test cases to find out the bad condition box out 9 boxes.
    6 test case


  4. #4

    Re: How to Find minimum number of test cases for particular case

    Quote Originally Posted by jayparthi View Post
    6 test case
    Could you please tell us why 6 test cases?


  5. #5
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Re: How to Find minimum number of test cases for particular case

    Quote Originally Posted by pradeepk View Post
    Suppose we have 9 boxes out of which 8 are in good condition and 1 is in bad condition. Then what will be the minimum no. of test cases to find out the bad condition box out 9 boxes.
    Minimum can be 8.As we have no more information, how to verify the box, so we can say we have to check each one, but if 8 are passed then 9th one is in bad condition, or we will get it in our 8 cases.Reply me whether i am right or wrong.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  6. #6

    Re: How to Find minimum number of test cases for particular case

    Quote Originally Posted by pradeepk View Post
    Suppose we have 9 boxes out of which 8 are in good condition and 1 is in bad condition. Then what will be the minimum no. of test cases to find out the bad condition box out 9 boxes.
    Hi,

    If all the 9 boxes have the identical properties then we need one test case to find the box with bad condition.

    Following are the one kind of test steps for identifying the bad conditioned box, there may also be many other:

    Step 1: Divide the 9 boxes into three groups where in each group there will be three boxes

    Step 2: Test the three groups seperately to identify which group is different from other. For example, if you rate the box as bad with respect to weight then one group with bad condition will differ from other two

    Step 3: Take the group with bad condition and further divide into three of one box each

    Step 4: Test each box individually and the box which differ from the remaining two will be of bad condition

    Regards,
    Ganesan


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact