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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Step 8:<br />

Backtracking:<br />

• Erase the third set of variable ‘f’ since the choice of ordering was based on the<br />

ordering of the previous set.<br />

• Let us swap the ordering in set two for variable ‘f’, from F2 followed by F1 to F1<br />

followed by F2 <strong>and</strong> see if this does any good.<br />

Test<br />

case#<br />

a(3) b(2) c(2) d(2) e(2) f(2)<br />

1. A1 B1 C1 D1 E1 F1<br />

2. A1 B2 C2 D2 E2 F2<br />

3. A2 B1 C2 D2 E1 F1<br />

4. A2 B2 C1 D1 E2 F2<br />

5. A3 B1 C1 D2 E2<br />

6. A3 B2 C2 D1 E1<br />

• Let us now have F2 followed by F1 for the third set of variable ‘f’.<br />

Test<br />

case#<br />

a(3) b(2) c(2) d(2) e(2) f(2)<br />

1. A1 B1 C1 D1 E1 F1<br />

2. A1 B2 C2 D2 E2 F2<br />

3. A2 B1 C2 D2 E1 F1<br />

4. A2 B2 C1 D1 E2 F2<br />

5. A3 B1 C1 D2 E2 F2<br />

6. A3 B2 C2 D1 E1 F1<br />

• This arrangement does not work either since now F1 is paired with only E1 <strong>and</strong><br />

F2 is paired with only E2.<br />

• In fact, no matter what ordering you try you just can’t fit in all-pairs in these six<br />

test cases or combinations.<br />

Refer guideline numbered 12 in Appendix B: Guidelines for filling in “allpairs<br />

combination” table<br />

© Sowmya Padmanabhan, 2003<br />

9

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

Saved successfully!

Ooh no, something went wrong!