Professional Documents
Culture Documents
Equivalence Partitioning Method
Equivalence Partitioning Method
An equivalence class data is a subset of a larger class. This data is used for
technically equivalence partitioning rather than undertaking exhaustive testing of
each value in the larger set of data.
For example, a payroll program, which edits professional tax deduction limits within
Rs. 100 to Rs. 400, would have three equivalence partitions.
Less than Rs.100/- (Invalid Class)
Between Rs.100 to Rs.400/- (Valid Class)
Greater than Rs.400/- (Invalid Class)
If one test case from one equivalence class results in an error, all other test
cases in the equivalence class would be expected to result the same error. Here,
tester needs to write very few test cases, which is going to save our precious time
and resources.
Boundary Value Analysis:
Experiences show that the test cases, which explore boundary conditions,
have a higher payoff than test cases that do not. Boundary conditions are the
situations directly on, above and beneath the edges of input and output equivalence
classes.
This technique consists of generating test cases and relevant set of data that
should focus on the input and output boundaries of given function. In the above
example of professional tax limits, boundary value analysis would derive the test
cases for:
Low boundary plus or minus one (Rs.99/- and Rs.101/-)
On the boundary (Rs.100/- and Rs.400/-)
Upper boundary plus or minus one (Rs.399 and Rs.401/-)
Error Guessing:
This is based on the theory that test cases can be developed, based upon
intuition and experience of the test engineer. Some people tend to adapt very
naturally with program testing. We can say these people have a knack for Smelling
out errors without incorporating any particular methodology.
This Error Guessing quality of a tester enables him to put in practice, more
efficient and result oriented testing than a test case should be able to guide a Tester.
It is difficult to give procedure for the error guessing technique since it is largely
intuitive and ad hoc process. For example, where one of the input is the date. Test