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.

“The purpose of testing is to determine whether a program contains any errors”<br />

(Goodenough & Gerhart, 1975, p. 156).<br />

“<strong>Testing</strong>--A verification method that applies a controlled set of conditions <strong>and</strong><br />

stimuli for the purpose of finding errors” (IEEE Computer Society, 2004, 1).<br />

“Software testing in all its guises is a study of the software input space, the domain<br />

over which a program under test is supposed to operate. The whole question of<br />

‘how should testing be done?’ is a matter of input selection” (Hamlet, 2000, p. 71).<br />

Test Case: IEEE Std. 610.12 (1990) defined a test case as:<br />

(1) A set of test inputs, execution conditions, <strong>and</strong> expected results<br />

developed for a particular objective, such as to exercise a particular program<br />

path or to verify compliance with a specific requirement.<br />

(2) (IEEE Std. 829-1983) Documentation specifying inputs, predicted<br />

results, <strong>and</strong> a set of execution conditions for a test item. (p. 74)<br />

Bug/Error/Fault: We test to find bugs, also called errors. IEEE Std. 610.12 (1990)<br />

defined a bug, error or fault as:<br />

(1) The difference between a computed, observed, or measured value or<br />

condition <strong>and</strong> the true, specified, or theoretically correct value or condition.<br />

For example, a difference of 30 meters between a computed result <strong>and</strong> the<br />

correct result.<br />

(2) An incorrect step, process, or data definition. For example, an incorrect<br />

instruction in a computer program.<br />

(3) An incorrect result. For example, a computed result of 12 when the<br />

correct result is 10.<br />

(4) A human action that produces an incorrect result. For example, an<br />

incorrect action on the part of a programmer or operator. (p. 31)<br />

2

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

Saved successfully!

Ooh no, something went wrong!