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.

change has caused something that used to work to now be broken. ( pp. 40-<br />

41)<br />

2.03 <strong>Testing</strong> Multiple Variables in Combination<br />

While testing multiple variables together, a test case represents a combination of<br />

input values of these multiple variables. As noted in the introductory chapter, one<br />

would ideally test for all possible combinations of inputs. But this is practically<br />

impossible because even with a normal commercial program with few variables, all<br />

possible combinations can lead to combinatorial explosion. The following are some<br />

of the techniques described in the literature that involve combination testing of<br />

multiple variables with a reduced test case set:<br />

items.<br />

• Cause-effect graphs<br />

• Combinatorial testing using input-output analysis<br />

• Pairwise or orthogonal arrays testing<br />

• All pairs combination testing<br />

• Weak robust equivalence class testing<br />

The following sections include brief discussions of each of the above-listed<br />

2.03.01 Cause-Effect Graphs<br />

Bender (2001), Elmendorf (1973), Elmendorf (1974), Elmendorf (1975), Myers<br />

(1979), <strong>and</strong> Nursimulu <strong>and</strong> Probert (1995) described cause-effect graphing as a<br />

combination testing technique. To start with, using the specification of the program<br />

under test, one identifies causes, effects <strong>and</strong> constraints due to the external<br />

environment. Next, Boolean graphs are formed with causes <strong>and</strong> effects as the nodes<br />

<strong>and</strong> the links joining causes <strong>and</strong> the respective effects that represent the relationship<br />

between the causes <strong>and</strong> effects. The graph is then traced to build a decision table,<br />

which is used to produce test cases.<br />

33

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

Saved successfully!

Ooh no, something went wrong!