10.12.2012 Views

Domain Testing: Divide and Conquer - Testing Education

Domain Testing: Divide and Conquer - Testing Education

Domain Testing: Divide and Conquer - Testing Education

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

All-Pairs Combination <strong>Testing</strong><br />

� Many pairs are tested at the same time in one combination. Allpairs<br />

technique ensures all-pairs, that means that every value<br />

of a variable is combined with every value of every other<br />

variable at least once.<br />

� Only independent variables should be tested using all-pairs<br />

technique.<br />

� For each independent variable, only non-error h<strong>and</strong>ling test<br />

cases should be involved in all-pairs combination.<br />

� In particular, if there are n variables, then each combination<br />

generated by all-pairs combination has n x (n-1) / 2 pairs.<br />

� If we arrange all independent variables in the descending order<br />

of the number of acceptable (non-error h<strong>and</strong>ling) test cases<br />

they have <strong>and</strong> if max 1 <strong>and</strong> max 2 represent the first two<br />

variables in such an arrangement, the minimal number of<br />

combinations due to all-pairs combination technique is:<br />

No. of test cases (Max1) x No. of test cases (Max2)<br />

© Sowmya Padmanabhan, 2003<br />

6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!