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.

In the functional approach to doing domain testing, partitioning of the input<br />

domain is done based on functions. Functional structures described in the<br />

specification are studied <strong>and</strong> test data is developed around these structures<br />

(Howden, 1986). The program at h<strong>and</strong> is analyzed to identify the functions<br />

involved, the input variables involved <strong>and</strong> their constraints. According to Howden<br />

(1981), identifying functions <strong>and</strong> selecting reliable test cases are two important<br />

tasks in functional testing. Depending on what kind of function it is, the approach<br />

to deriving a reliable test data set for the corresponding function will be different,<br />

since each will have different kinds of errors associated with it (Howden, 1981).<br />

One of the five types of functions identified by Howden (1981) based on<br />

functional structure is the arithmetic relation function. “Arithmetic relation<br />

functions are computed by expressions of the form E1 r E2, where E1 <strong>and</strong> E2 are<br />

arithmetic expressions <strong>and</strong> r is one of the relational operators , =, =, = or ?” (p.<br />

70).<br />

According to Howden (1981), of the many errors that can be associated<br />

with this type of function, a simple one is use of illegal or incorrect relation, which<br />

in turn means use of an incorrect relational operator. To test for such an error, a<br />

tester would consider two partitions. One corresponds to the set of test cases that<br />

have the expressions related by the correct relational operator, <strong>and</strong> the other<br />

partition consists of all test cases that have the expressions related by one of the<br />

remaining sets of relational operators.<br />

2.01.01.03 Combination of Black-Box <strong>and</strong> White-Box <strong>Testing</strong><br />

Approaches<br />

As previously mentioned, there are also a few researchers who have talked about<br />

leveraging the advantages of both white-box <strong>and</strong> black-box testing strategies <strong>and</strong><br />

described a combined approach to doing domain testing. Among the proponents of<br />

such a combined approach have been Binder (1999), Chen et al. (2000),<br />

Goodenough <strong>and</strong> Gerhart (1975), Hamlet <strong>and</strong> Taylor (1990), Howden (1980a),<br />

19

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

Saved successfully!

Ooh no, something went wrong!