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.

There are two general approaches to doing testing- ‘white-box’ testing <strong>and</strong><br />

‘black-box’ testing.<br />

1.02.02 White -Box <strong>Testing</strong> Approach<br />

In this testing approach, the program under test is treated as a white box or a glass<br />

box, something you can see through (Kaner, Falk & Nguyen, 1999; Myers, 1979).<br />

According to Myers (1979), this approach can also be called a logic-driven testing<br />

approach in which the tester does testing based on the internal structure of the<br />

program, usually ignoring the specifications. This approach is also known as<br />

structural testing or glass-box testing. IEEE Std. 610.12 (1990) defined structural,<br />

glass-box or white-box testing as “<strong>Testing</strong> that takes into account the internal<br />

mechanism of a system or component” (p. 71).<br />

1.02.03 Black-Box <strong>Testing</strong> Approach<br />

In this testing approach, the program under test is treated as a black box, something<br />

you cannot see through (Kaner et al., 1999; Myers, 1979). A black-box tester is<br />

unconcerned with the internals of the program (Howden, 1980a; Myers, 1979;<br />

Podgurski & Yang, 1993) <strong>and</strong> tests the program using the specifications of the<br />

program (Myers, 1979). Black-box testing has been defined by IEEE Std. 610.12<br />

(1990) as “(1) <strong>Testing</strong> that ignores the internal mechanism of a system or<br />

component <strong>and</strong> focuses solely on the outputs generated in response to selected<br />

inputs <strong>and</strong> execution conditions” (p. 35). Specification can be defined as “A<br />

document that specifies, in a complete, precise, verifiable manner, the<br />

characteristics of a system or component, <strong>and</strong>, often, the procedures for<br />

determining whether these provisions have been satisfied” (IEEE Std. 610.12,<br />

1990, p. 69).<br />

According to Myers (1979), the black-box testing approach can also be<br />

called a data-driven or input/output-driven testing approach since black-box testers<br />

3

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

Saved successfully!

Ooh no, something went wrong!