Pages

Search This Blog

Friday, August 19, 2016

Test case designing using BVA OR EP?

Boundary value analysis(BVA) and Equivalence partitioning(EP) both are test case design strategies in black box testing.

The values at the extremes (start/end values or lower/upper end values) of such classes are known as Boundary values. Analyzing the behavior of a system using such values is called Boundary value analysis.

For example: How do you do BVA for range between 1-10?

The boundary value analysis can have 6 text cases.
n,n-1,n+1 for the upper limit and n,n-1,n+1 for the lower limit.
In our example, as per BVA, there are 6 test case data, 





Equivalence partitioning  is a technique to divide the input data of software into different equivalence data classes i.e for input values.
For exampleHow do you do EP for range between 1-10?
Test condition
1. Any number greater than 10 i.e 11, then it is considered invalid.
2. Any number less than 1 i.e 0 then it is considered invalid.
3. Numbers 1 to 10 are considered valid.
4. Any 3 digit number say -100 or 100 is invalid.



These cases are derived from the requirements specification for input data. These method reduces the time for testing and useful for effective test cases.

No comments:

Post a Comment