04.12.2012 Views

Testing, Debugging, and Verification - Testing, Part II

Testing, Debugging, and Verification - Testing, Part II

Testing, Debugging, and Verification - Testing, Part II

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.

What does a test case consists of?<br />

(to be refined later)<br />

Test case<br />

◮ Initialisation (of class instance <strong>and</strong> input arguments)<br />

◮ Call to the method under test.<br />

◮ Decision (oracle) whether the test succeeds or fails<br />

◮ two first parts seem enough for a test case,<br />

◮ but test oracle is vital for automated evaluation of test<br />

TDV: <strong>Testing</strong> /GU 121130 10 / 28

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

Saved successfully!

Ooh no, something went wrong!