22.04.2013 Views

appendix 1. analyzing the triangle problem - Testing Education

appendix 1. analyzing the triangle problem - Testing Education

appendix 1. analyzing the triangle problem - 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.

ANALYZING THE TRIANGLE PROBLEM<br />

(Continued)<br />

Is <strong>the</strong> ratio of negative to positive test cases appropriate? Note that <strong>the</strong> number of<br />

negative test cases listed (in item 1(a) above, and in <strong>the</strong> remainder of items (1), (2) and<br />

(3) below), total more than 50% of all <strong>the</strong> test cases. The test cases listed in items 4<br />

through 9 are primarily positive test cases, i.e., have acceptable input values.<br />

The answer is <strong>the</strong> right mix of negative and positive test cases depends on <strong>the</strong> situation.<br />

Only if <strong>the</strong> <strong>triangle</strong> software must have high reliability and robustness is <strong>the</strong> number of negative<br />

test cases likely to exceed <strong>the</strong> positive ones. O<strong>the</strong>rwise <strong>the</strong> positive test cases should outnumber<br />

<strong>the</strong> negative ones.<br />

Copyright 2004 Collard 12 & Company<br />

Appendix 1<br />

12

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

Saved successfully!

Ooh no, something went wrong!