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.

Appendix B: Guidelines for filling in “all-pairs combination”<br />

table (continued)<br />

in a circular list. For the first set you enumerated the values starting from first <strong>and</strong><br />

then second until finally you reach the first (which you just skip). Now, for the<br />

next set start at the second value followed by the third value <strong>and</strong> so on <strong>and</strong> so<br />

forth. By doing so, you will completely fill the column corresponding to the third<br />

variable. The above described procedure for filling in columns corresponding to<br />

first, second <strong>and</strong> third variable ensures that all-pairs has been achieved for the first<br />

three variables.<br />

12. For each variable after the third one, if there is any, for every set, you have to<br />

order the test case values corresponding to the variable such that the final ordering<br />

of all sets corresponding to the variable, results in each value of the variable being<br />

paired with each value of every preceding variable. It might be required to<br />

backtrack if the current ordering makes it impossible to achieve the above<br />

mentioned end result. If, no matter what ordering you try <strong>and</strong> no matter how much<br />

you try to backtrack <strong>and</strong> redo the things, the end result (all-pairs) in not achieved<br />

then additional combinations might have to be added. Also note that it is possible<br />

that there is multiple occurrence of a pair of values of two variables since all-pairs<br />

technique only ensures that every value of a variable is combined with every<br />

value of every other variable at least once not only once but the former is the<br />

minimal requirement.<br />

© Sowmya Padmanabhan, 2003<br />

3

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

Saved successfully!

Ooh no, something went wrong!