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.

Test<br />

case#<br />

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

1. A1 B1 C1 D1 E1<br />

2. A1 B2 C2 D2 E2<br />

3. A2 B1 C2 D2 E2<br />

4. A2 B2 C1 D1 E1<br />

5. A3 B1 C1 D2 E2<br />

6. A3 B2 C2 D1 E1<br />

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

combination” table<br />

We observe that the sequence of test cases of variable ‘e’ in e’s column yields the<br />

following results:<br />

• each test case of variable ‘e’ is paired with each test case of variables a, b <strong>and</strong><br />

c.<br />

• each test case of variable ‘e’ is NOT paired with each test case of variable d.<br />

For instance, D1 is paired with only E1 <strong>and</strong> D2 is paired with only E2 in all<br />

the three sets.<br />

Step 6:<br />

Backtracking:<br />

• Erase the third set of variable ‘e’ 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 ‘e’, from E2 followed by E1 to E1<br />

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

Test<br />

case#<br />

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

1. A1 B1 C1 D1 E1<br />

2. A1 B2 C2 D2 E2<br />

3. A2 B1 C2 D2 E1<br />

4. A2 B2 C1 D1 E2<br />

5. A3 B1 C1 D2<br />

6. A3 B2 C2 D1<br />

• Let us now have E2 followed by E1 for the third set of variable ‘e’.<br />

© Sowmya Padmanabhan, 2003<br />

7

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

Saved successfully!

Ooh no, something went wrong!