Pairwise Software Testing

Generalized form of Pairwise Testing: The generalized form of pairwise testing is N-wise testing. Basically sorting is applied to the set,
X = n{i}, so that P = P{i} gets ordered too.Let the sorted set be a N tuple:
P{s} = { P{i} } ; i |R(P{i})| < |R(P{j})| Now take the set X(2) = { P{N-1}, P{N-2} }And call it the pairwise testing. Generalizing further take the set
X(3) = { P{N-1}, P{N-2}, P{N-3} }And call it the 3-wise testing. Similarly, we can say,
X(K) = { P{N-1}, P{N-2}, ..., P{N-K} }K-wise testing. The N-wise testing is all possible combinations from the above formula. Advantages of Pairwise Testing: The advantages of pairwise testing are:
- Pairwise testing reduces the number of execution of test cases.
- Pairwise testing increases the test coverage almost up to hundred percentage.
- Pairwise testing increases the defect detection ratio.
- Pairwise testing takes less time to complete the execution of the test suite.
- Pairwise testing reduces the overall testing budget for a project.
- Pairwise testing is not beneficial if the values of the variables are inappropriate.
- In pairwise testing it is possible to miss the highly probable combination while selecting the test data.
- In pairwise testing, defect yield ratio may be reduced if a combination is missed.
- Pairwise testing is not useful if combinations of variables are not understood correctly.