Changes

Jump to: navigation, search

Unit Testing

31 bytes added, 10:13, 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 In each test case, you need to run assert() to check the test result.
<pre>
1
edit

Navigation menu