What is Equivalence Partitioning
This testing technique involves in identifying a small set of representatives input values (equivalence class)the produces same output values.This reduces the effort involved in testing.In this test one representative from each partition is picked for testing since all the values produce equal and same output.The main advantage of this testing is that we gain good coverage with a small number of test cases.
For eg, a company offers increment for all employees based on the age criteria. so the total salary will be like base salary + increment. the age group criteria is like
Age criteria Increment
under 35 age 1000/-
35-55 age 2000/-
So the Equivalence Partitions that are based on the age are:-
- below 35 yrs of age(valid input)
- between 35 to 55 yrs of age(valid input)
- above 55(invalid input)
- age as 0(invalid input)
Clear explanation, Thank You :)
ReplyDelete