Give some inputs on equivalence partition and Boundary value analysis and they will be prepared .Do we need to write testcases or prepare testdata for these?

Showing Answers 1 - 4 of 4 Answers

Equivalence Partition:- Suppose there are 5000 students data and tester has to check the data for each student ,it is time consuming process for checking the individual's record. For this instance Tester can follow some rule called as Equivalence Partition (EP) for save his time.

   Under this rule he can devide the students under the same intervale for same group according to there age like--From 5 to 15 then 15 to 20 and so on under this all the students definately fall .This intervale is called as the Equivalence Partition.

Boundary Value Analysys (BVA):--After Equivalence Partition tester go for the data analysys depend on the data Boundary like there is a interval from 0 to 10,then in the BVA he attempt 6 step procedure ie..

1) chek for the (min-1) = 0-1=-1

2) chek for the (min) = 0=0

3) chek for the (min+1) = 0+1=2

4) chek for the (max-1) = 10-1=9

5) chek for the (max) = 10=10

6) chek for the (max+1) = 10+1=11

These 6 steps comes under the BVA.

Both equivalence class partitioning and boundary value analysis are used to help minimize the number of test cases that are necessary to test. 

Equivalence class partitioning is a process that evaluates the characteristics of a class that contains numerous items that are testable to determine how this class can be broken down (or partitioned) into subclasses that share similar attributes in order to make testing more efficient.  The thinking here is that we don't want to test every item in the parent class, but we want to make sure we have tested every item within this class that has unique characteristics.  For example, if you wish to verify how entering each character in an entire character set reponds in an application, but you don't have time to test each character individually, then you can use equivalence class partitioning to separate the character set into meaningful subclasses that share common attributes.  The character set can be subdivided into alpha characters, numeric characters, and special characters.  Since a program may treat each of these subclasses differently, it is important to ensure that representatives from each class are tested. 

Boundary value analysis is a process that ensures the highest and lowest items in a range are fully tested.  For example, if a particular text box expects numeric values from 1 to 10 (perhaps it is for a rating system where "1= poorest" and "10 = best") characters, then a tester performs boundary value analysis by examining the behavior around the upper and lower values of this range.  The tester would enter the following values in the text box: 0; 1; 2; 9; 10; and 11.
 
lower range = 1
lower range - 1 = 0
lower range + 1 = 2
higher range = 10
higher range - 1 = 9
higher range +1 = 11

As you see by the above examples, test cases and test data must be prepared in order to adequately test the application. 

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions