What is Meant by Equivalence partitioning

Discussion in 'Test Cases & Test Plans' started by Jananathan, Feb 3, 2011.

  1. Jananathan

    Jananathan New Member

    What is Meant by Equivalence partitioning

  2. tossy

    tossy New Member

    classifying the data in to groups which are created same by a system it is technique to be used for reducing the time and testcase. it is comes under functionality testing.
  3. kapil.52

    kapil.52 New Member

    In equivalence partitioning method, all the input values are divided into VALID and INVALID sets/partitions of data. Then one value is selected at random from each of these sets/partitions which represents the complete set. In other words, this value is EQUIVALENT to complete PARTITION.
    Then the application is tested with these equivalent input values. With this we can assume that the system is tested with all the Valid and Invalid input values.
    This method of representing sets of all the valid ind invalid inputs with a single value, is known as 'Equivalence Partitioning' OR 'Equivalence Class Partitioning Method'.
  4. dhani

    dhani New Member

    :mad::rolleyes:it is useful to check with valid data .for example: if u take userid field:that it only takes small alphabets.......i.e. dhani or jumangi.......etc
    but user enters Dhani or JUMANGI, but the system shows error msgs.,,,,,,,,,,,,
    first we have to take valid and invalid data...then check with valid as well as invalid data.
    i.e. it shows like dhani DHANI
    jumangi JUMANGI


  5. subramanyam

    subramanyam New Member

    Hi jaganth
    Equivalencepartion means validation the values of Boundary vale analysis that means the vales between whether it is valid or invalid.
    For eg:take text bozx feild that boundary is only allpha numbneric inthat text boxx alphan mumeric is valid other than is not valid so u have to partion between the valid data.
  6. Jhonsam

    Jhonsam New Member


    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.


    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.


    To use equivalence partitioning, you will need to perform two steps
    # Identify the equivalence classes
    # Design test cases
    STEP 1: IDENTIFY EQUIVALENCE CLASSES Take each input condition described in the specification and derive at least two equivalence classes for it. One class represents the set of cases which satisfy the condition (the valid class) and one represents cases which do not (the invalid class ) Following are some general guidelines for identifying equivalence classes: a) If the requirements state that a numeric value is input to the system and must be within a range of values, identify one valid class inputs which are within the valid range and two invalid equivalence classes inputs which are too low and inputs which are too high. For example, if an item in inventory can have a quantity of - 9999 to + 9999, identify the following classes:
    1. one valid class: (QTY is greater than or equal to -9999 and is less than or equal to 9999). This is written as (- 9999 < = QTY < = 9999)
    2. the invalid class (QTY is less than -9999), also written as (QTY < -9999)

    3. the invalid class (QTY is greater than 9999) , also written as (QTY >9999) b) If the requirements state that the number of items input by the system at some point must lie within a certain range, specify one valid class where the number of inputs is within the valid range, one invalid class where there are too few inputs and one invalid class where there are, too many inputs.
  7. anil.manju01

    anil.manju01 New Member

    if input is the range of values and design test case for one valid and two invalid values is called Equivalence partitioning
  8. avikrammca

    avikrammca New Member

    Equivalence partitioning is type of test design technique which is used when ever more requirements for single future then this is suitable technique.
    first divide all inputs into class(portion) then write the test cases for each class
  9. mfsi_dillip

    mfsi_dillip New Member

    We needs to make partition of data equally.And we have to test only one value from each range of values.Suppose we have 30 data.We needs to make it three parts of 1-10,10-20 and 20-30.Then we will take one from each set to test whole thing.For e.g if 5 satisfied the condition then we have to consider that every other value between 1 and 10 will satisfy the condition.In this way it will reduce 30 inputs to 3 input.Which will make test process faster by reducing test conditions.
  10. thebobblogs

    thebobblogs New Member

    Equivalence partitioning
    Equivalence partitioning is a software testing technique that groups the input data for a module of a software into partitions of data that can represent each possible case. Then, select an input data from each partition.

    Hope it make more clear. :)

    Source: Equivalence Partitioning
  11. nandinit6

    nandinit6 New Member

Share This Page