## User Tag List

Thanks:  0
Likes:  0
Dislikes:  0

hi all,
If i am given a range between 1-100...and i m expected to do equivalance partioning .How to do this?What exactly is a equivalance partioning?Plaese explai this with examplesjavascript:void(0)

2. ## Re: about equivalance partioning

Hi,

A technique in black box testing is equivalence partitioning. Equivalence partitioning is designed to minimize the number of test cases by dividing tests in such a way that the system is expected to act the same way for all tests of each equivalence partition. Test inputs would be selected from each partition.

3. ## Re: about equivalance partioning

Hi,

For each input, divide the input domain into sets of data, where all of the
values in each set will cause the system to behave similarly. Determine the equivalence sets for a
particular input by understanding the sets of conditions that effect the behavior of the requirement.

· If an input condition specifies a range, at least one valid (the set of values in the range) and
two invalid equivalence sets (the set of values less than the lowest extreme of the range, and
the set of values greater than the largest extreme) are defined.

4. ## Re: about equivalance partioning

Hi,

If the requirement expects input values in the range 0 to 100, then the test cases selected
might be: 0, 1, 56, 99, 100.

5. ## Re: about equivalance partioning

Welcome,

Many of us here have stocked the pond of knowledge with fish. The advanced search to your upper right is an excellent fishing utensil. Some here will just give you the fish. Many of us here encourage you to use the tools provided for your own rewarding fishing experience. So...

Here are some search tips for you to get you acquainted with the vast knowledge base here.

Find a cozy recliner. Kick back. Abandon your footwear.
Have a cup of coffee or spot o' tea.
Put on some good background music.

Using any of the key words you are inquiring about, input those into the text box and select the Functional Testing forum. Click search. You may also try the Quality Methodologies forum for Equiv. Part.

It is almost sinful how much information you get in return for so little effort, isn't it?

Enjoy!

6. ## Re: about equivalance partioning

Originally posted by Yuva:
If the requirement expects input values in the range 0 to 100, then the test cases selected
might be: 0, 1, 56, 99, 100.
<font size="2" face="Verdana, Arial, Helvetica">And where did you come up with those numbers as test cases?

I think that is the point of equivalence partitioning. The art of coming up with the right numbers.

7. ## Re: about equivalance partioning

Yuva,

You also put a little bit of Boundary Value in there (1 & 99) [img]images/icons/wink.gif[/img]

Vijaya,

I'll be the spoiler here (cause I'm in such a good mood, right) and say that the values are derived from using a 'reduced set' of acceptable range values (positive tests). This is done by taking the value range and using a Median value (mid point, like 50 or 56 in this case) and the area around the end points of the range (in this case 0 & 1 and 99 & 100). The reason behind this is that any value that falls within these reduced ranges is 'equivalent' to using all values in the range (there is no difference between using 80 and 90 OR 98 and 99 OR 10 and 20 OR 1 and 5) and will yield the same result.

Does that make sense? But again, as Jake said use the search engine here and use Google to find the full scoop on this.

And just to throw a little spin on things you could add the values of -50 & -1 and 101 and 150 to push the system beyond the boundaries of the range effectively to see how it reacts (sometimes not the way you expect). This is Boundary Value Analysis at its basic.

Jim

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.