Pairwise testing is a technique for generating test cases by covering all interactions of up to two factors, leading to smaller test suites that effectively find defects. The document provides examples of combinations and emphasizes the use of tools such as All-Pairs and PICT for automating this process. It also advises to apply pairwise testing judiciously, focusing on necessary situations and probable failure combinations.
Introduction to the concept of pairwise testing presented by Alexandr Romanov.
Pairwise testing is a technique for test case generation focusing on interactions of at most two factors, effectively covering combinations and finding defects.
A simple example of pairwise testing showcasing combinations of 'bed linen' and 'tea' demonstrating the concept with 4 combinations.
An example of pairwise testing using combinations of variables: seat type, bed linen, and tea, leading to 48 total combinations.
A demonstration of pairwise combinations using 6 specific cases revealing the practical application of the technique.
List of free and commercial tools available for pairwise testing including All-pairs, PICT, Jenny, and Hexawise.
Guidelines on when to use pairwise testing, highlighting the importance of selecting right values and focusing on likely failure combinations.
What is pairwisetesting? Google it!
Pairwise (all-pairs) testing is an effective test
case generation technique that is based on the
observation that most faults are caused by
interactions of at most two factors.
Pairwise-generated test suites cover all
combinations of two therefore are much smaller
than exhaustive ones yet still very effective in
finding defects.
Do we needto do it manually?
Tools:
- All-pairs - free
- PICT - free
- Jenny - free
- Hexawise free/commercial
others;
9.
Should we usepairwise everywhere?!
Always remember:
- Use pairwise testing technique when it’s
necessary;
- Explore your system under test;
- Select the right values to test with;
- Pay attention to high probable fail
combination;