Introduction to pairwise testing Alexandr Romanov Ciklum What

  • Slides: 10
Download presentation
Introduction to pairwise testing Alexandr Romanov Ciklum

Introduction to pairwise testing Alexandr Romanov Ciklum

What is pairwise testing? Google it! Pairwise (all-pairs) testing is an effective test case

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.

Pairwise testing: give us an example Simple Combinations: 2 x 2 = 4

Pairwise testing: give us an example Simple Combinations: 2 x 2 = 4

Pairwise testing: give us an example Simple Combination number Bed linen Tea 1 checked

Pairwise testing: give us an example Simple Combination number Bed linen Tea 1 checked 2 unchecked 3 checked unchecked 4 unchecked

Pairwise testing: give us an example

Pairwise testing: give us an example

Pairwise testing: give us an example Combination number Seat type Bed linen Tea Gypsies

Pairwise testing: give us an example Combination number Seat type Bed linen Tea Gypsies Demobees 1 Berth checked 2 Coupe checked 3 Lux checked 4 Berth unchecked 5 Coupe unchecked 6 Lux unchecked 7 Berth unchecked 8 Coupe unchecked . . . . Combinations (all): 3 x 2 x 2 = 48

Demo Combination Seattype Bedlinen Tea Gypsies Demobees 1 Berth checked 2 Berth unchecked 3

Demo Combination Seattype Bedlinen Tea Gypsies Demobees 1 Berth checked 2 Berth unchecked 3 Coupe checked unchecked 4 Coupe unchecked 5 Lux checked unchecked 6 Lux unchecked Combinations (pairwise technique applied) = 6

Do we need to do it manually? Tools: - All-pairs - free - PICT

Do we need to do it manually? Tools: - All-pairs - free - PICT - free - Jenny - free - Hexawise free/commercial others;

Should we use pairwise everywhere? ! Always remember: - Use pairwise testing technique when

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;

Questions? Alexandr Romanov skype: alex_roma_nov email: al 8 x. romanov@gmail. com

Questions? Alexandr Romanov skype: alex_roma_nov email: al 8 x. romanov@gmail. com