Open main menu

CDOT Wiki β

Changes

Unit Testing

41 bytes added, 10:12, 10 December 2006
Step 2. A test suite holding all the test cases.
==== Step 2. A test suite holding all the test cases. ====
The following is example of bookmarks test suite. In suite, you could have a setUp() for preparing unit testing, and you could have a tearDown() to clean up after unit testing. The framework will execute them automatically.Call assert() to check the test result.
<pre>
1
edit