A brief introduction to pairwise testing technique. Also a list of common tools for automating a process of selecting the right number of pairs for testing;
2. What is pairwise testing? 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.
4. Pairwise testing: give us an example
Simple
Combination number
Bed linen
Tea
1
checked
checked
2
unchecked
checked
3
checked
unchecked
4
unchecked
unchecked
8. Do we need to do it manually?
Tools:
- All-pairs - free
- PICT - free
- Jenny - free
- Hexawise free/commercial
others;
9. Should we use pairwise 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;