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.

Whittaker <strong>and</strong> Jorgensen (2002) described an attack-based approach to doing<br />

domain testing. They argued that testing any software along four (input, output,<br />

storage <strong>and</strong> computational) dimensions with the right set of attacks will, to a large<br />

extent, ensure finding the major bugs in software.<br />

2.01.03 Linear or Non-Linear<br />

Not all domains of programs are linear in nature. Kaner <strong>and</strong> Bach (2003) described<br />

linearizable <strong>and</strong> non-linearizable domains. Linearizable variables are ones whose<br />

values can be mapped onto a number line, such as a variable representing a range of<br />

numbers. On the other h<strong>and</strong>, non-linearizable variables are those whose values<br />

cannot be mapped onto a number line, such as printers (Kaner et al., 1999; Kaner &<br />

Bach, 2003).<br />

Kaner <strong>and</strong> Bach (2003) also characterized linearizable variables as variables<br />

whose values represent ordered sets <strong>and</strong> non-linearizable variables as ones whose<br />

values represent non-ordered sets. Most of the literature on domain testing refrains<br />

from w<strong>and</strong>ering into the territory of non-linear domains, but there are some who do<br />

discuss it.<br />

Jeng <strong>and</strong> Weyuker (1994) described a simplified domain testing strategy<br />

that is applicable to non-linear domains as much as it is to linear domains. Zeil et<br />

al. (1992b) depicted detection of linear errors in non-linear domains. According to<br />

both Jeng <strong>and</strong> Weyuker (1994) <strong>and</strong> Zeil et al. (1992b), it does not matter whether<br />

the domain is continuous or discrete.<br />

2.01.04 Overlapping or Disjoint Subdomains<br />

Some researchers have suggested that partitioning of input domain should result in<br />

non-overlapping or disjoint partitions since their analysis is based on a pure<br />

mathematical model of doing partitioning (Howden, 1976; Jorgensen, 2002; Myers,<br />

1979; White & Cohen, 1980). Some people talk about having disjoint or non-<br />

overlapping partitions because according to them, if two partitions (for example, A<br />

23

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

Saved successfully!

Ooh no, something went wrong!