Equivalence Class Partitioning
ECP is a testcase design techniques that divides the input data into set of partitions of data from which test case can be derived. The thumb rule is that there should be at least one class for each of partitions. It is expected that each member of class will have same behavior in the system. In other way ECP method creates same set of Input/Output that are handled in the same way by the application. This method helps to reduce number of test cases as we create classes for of test data & test them accordingly. The test that results from the representative value for a class is said to be "equivalent" to the other values in the same class. If no errors were found in the test of the representative value, it is reasoned that all the other "equivalent" values wouldn't identify any errors either. For ex. lets have a systesm which takes 2 integer value & add them.As we know that sum of two integer will always be a positive Integer so if we have to test w...