Can anybody clear me about Equivalance Class partition.
Answer :
Equivalancy class partition is a Testing Technique in input domain testing
we will partitioin the input data as valid and invalid
here a small example i'll give
assume that there is a password authentication
for the password length miimum range is 3 and maximum 9 & it shoud accept only lowercase letter and should not accept any and Ascii value's
by using ECP Technique we will prepare the test data like this
Equivalence classpartition
Valid Input Data Invalid input Data
3-9 0-2,10& Above
a to z A to Z
@,#$%^&*
Equivalance Partition Class: The purpose of EPc(Equivalance Partition Class) is for reducing the number of test cases. Def:Combination of EPCs(Es is called Equivalance Partion.ECP contains same significant values, for eg, when we testing for a field which has to accept the numbers from 1 to 10.Then in this case we partion the inputs to 3 different classes. Let us take all -ve numbers as one group and all +ve numbers from 1 to 10 as second group and all the high numbers from 11 to .... .Here each group is called as EQUIVALANCE PARTITION CLASS.Here we are able to reduce the test cases by taking a single representative from each class.for eg -4 from -ve EPC,2 from valid EPC ie(1 to 10) and finally 15 from another EPC if(11 to ...). The drawback in this equavalance partition method is here we are missing 0(zero) and the boundary values. Boundary values:Either side of edges.For example the boundaries for 1 to 10 are 0,1,2 and 11,12,13.Here 1 and 10 are called edges