pairwise testing basic and how to apply

12
PAIRWISE TESTING

Upload: nguyen-the-nghi

Post on 17-Aug-2015

19 views

Category:

Software


0 download

TRANSCRIPT

PAIRWISE TESTING

Example

What is pairwise testing?

• Pairwise Testing also known as all-pairs testing is a testing approach taken for testing the software using combinatorial method for two test inputs.

n-way combinations

• n = 2, 3, 4, 5, 6• Focus on testing all possible combinations of

two test inputs (2-way)

Benefits of pairwise testing

Total test cases:

> 2^87 = 154.742.504.910.762.534.362.390.528Pairwise: 16

Benefits of pairwise testing

• Tool generates test cases• Reduce time and effort• Find flaws efficiently: 50%-90%

Apply to pAudit- Audit types: 14 values- Audit Title: 1-255 characters - Medical Blend Rate: number <999.999.999 (pick up 3 random numbers)- Compliance Audit: 2 values- Audit Location: 2 values- Nature of Audit: 2 values- Scope of Audit: 2 values- Coding Classification System: 3 values- Record Selection by: 2 values- Record Selection Decided by: 2 values- Standard list: 9 values- Audit Date: 1 value

Total test cases: >18 millions

2-way without constraints

2-way with constraints