Saturday, May 28, 2011

What methodologies have you used to develop test cases?

There are mainly 3 methods to Design a test case..

1) Error Guessing ( May not be a Official Process )

2) Equivalence Partitioning

a) If the input is a Set of Value then take 1 valid and 2 invalid values

b) If the input is a Range of Values then take 1 valid and 2 invalid values

c) If the input is Boolean value then test for both True and False values

d) Lastly Devide the whole range of input values in to some equal part and

take all valid values with 2 invalid values

3) Boundary Value Analysis


Error Guessing: The tester has to guess what fault might occur and to design the tests to represent them.

Equivalence Class Partitioning: In this method the input domain data is divided into different equivalence data classes. This method is typically used to reduce the total number of test cases to a finite set of testable test cases, still covering maximum requirements.

In short it is the process of taking all possible test cases and placing them into classes. One test value is picked from each class while testing.

Boundary value analysis: It?s widely recognized that input values at the extreme ends of input domain cause more errors in system. More application errors occur at the boundaries of input domain. ?Boundary value analysis? testing technique is used to identify errors at boundaries rather than finding those exist in center of input domain.

Boundary value analysis is a next part of Equivalence partitioning for designing test cases where test cases are selected at the edges of the equivalence classes.

No comments:

Post a Comment