Custom Search

Friday, October 3, 2008

What is Equivalence Partitioning?

Answer1 A test case design technique for a component in which test cases are designed to execute representatives from equivalence classes.

Answer2 Concepts: Equivalence partitioning is a method for deriving test cases. In this
method, classes of input conditions called equivalence classes are
identified such that each member of the class causes the same kind of
processing and output to occur.
In this method, the tester identifies various equivalence classes for partitioning. A class
is a set of input conditions that are is likely to be handled the same way
by the system. If the system were to handle one case in the class
erroneously, it would handle all cases erroneously

Answer3 A definition of Equivalence Partitioning from our software testing dictionary:
Equivalence Partitioning: An approach where classes of inputs are
categorized for product or function validation. This usually does not include
combinations of input, but rather a single state value based by class. For
example, with a given function there may be several classes of input that may be
used for positive testing. If function expects an integer and receives an
integer as input, this would be considered as positive test assertion. On the
other hand, if a character or any other input class other than integer is
provided, this would be considered a negative test assertion or condition

Answer4 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




2) WHY LEARN EQUIVALENCE PARTITIONING?
Equivalence partitioning drastically cuts down the number of test cases
required to test a system reasonably. It is an attempt to get a good
'hit rate', to find the most errors with the smallest number
of test cases.

No comments: