Showing posts with label Junit3. Show all posts
Showing posts with label Junit3. Show all posts

Sunday, September 25, 2011

Junit3 Tests

Here is an example of using Junit3 to unit test a class

class / test

Tip: look at the console output to follow the flow of execution (constructor / setup / test / teardown)