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.

three equivalence classes. The first one contains all cases that require operating the<br />

program over RAM capacities below 64K. The second class consists of all cases<br />

that require operating the program over RAM capacities between 64K <strong>and</strong> 256K.<br />

Finally, the third equivalence class consists of all cases that require operating the<br />

program over RAM capacities greater than 256K.<br />

Functional testing has been described in the literature as a specific form of<br />

specification-based or black-box domain testing, which is described next .<br />

2.01.01.02.01 Functional <strong>Testing</strong> Approach<br />

In the context of this thesis, a function is defined as: “In programming, a named<br />

section of a program that performs a specific task” (Webopedia, 2003, 1).<br />

IEEE Std. 610.12 defined a function as:<br />

(1) A defined objective or characteristic action of a system or component.<br />

For example, a system may have inventory control as its primary function.<br />

(2) A software module that performs a specific action, is invoked by the<br />

appearance of its name in an expression, may receive input values, <strong>and</strong><br />

returns a single value. (p. 35)<br />

Hamlet et al. (2001), Howden (1981), Howden (1986), Howden (1989),<br />

Podgurski <strong>and</strong> Yang (1993), Vagoun (1996) <strong>and</strong> Zeil et al. (1992b) are among the<br />

researchers that have described the functional testing approach to doing domain<br />

testing.<br />

Howden's work on functional testing is often cited in the literature as having<br />

laid the foundation of black-box testing because the approach he described focuses<br />

only on the inputs <strong>and</strong> outputs of a program’s functions <strong>and</strong> not on how the<br />

program executes the functions. According to Podgurski <strong>and</strong> Yang (1993),<br />

“Perhaps the most widely used form of partition testing is functional testing. This<br />

approach requires selecting test data to exercise each aspect of functionality<br />

identified in a program’s requirement specification. The inputs that invoke a<br />

particular feature comprise a subdomain” (p. 170).<br />

18

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

Saved successfully!

Ooh no, something went wrong!