Friday, 14 June 2013

Test Technique – Compare Equivalent Partitioning and Boundary Value Analysis

Comparison

Equivalence Partitioning is useful to minimize the number of test cases when the input data can be divided into distinct sets where the behaviour or outcome of the product within each member of the set is the same.

EP involves dividing into different set’s or classes.Division will be into valid partition and invalid partition.This helps to divide into valid range of data and invalid range of data.

ECP: equivalence class Partitioning: it also a input domain testing technique
Example: assume that there is a password authentication for the password
Requirement: it should contain minimum 3 characters and maximum limit is 9 in length and it should accept alphanumeric and it is case sensitive accept only lowercase
Applying the same for ECP
Equivalence Class Portioning
Here we will take a input data table and partition the data as valid input and invalid input as per the requirement
Example:
Equivalence class partition
Valid Input DataInvalid input Data
3-90-2 10& Above
a to zA to Z
@ #$ &^*


IN boundary value analysis we will take the boundary values.

Boundary Value Analysis is useful to generate test cases when the input(or output) data is made up of clearly identifiable boundaries or ranges.

BVA involves dividing the data into valid boundary and invalid boundary.This helps to divide into valid data boundary and invalid data boundary which can be included into test data coulmn of test case

BVA: Boundary Value Analysis This is an input domain Testing Technique

Here we test the boundary values by giving valid inputs and invalid inputs as per the requirement
Example: assume that there is a password authentication for the password
Requirement: it should contain minimum 3 characters and maximum limit is 9 in length
So here 3 is the lower boundary and Upper Boundary is 9
By Using BVA technique we will Prepare test data as
Minimum-1:3-1
Minimum: 3
Minimum+1:3+1
Maximum-1:9-1
Maximum: 9
Maximum+1:9+1

No comments:

Post a Comment