I recently did a presentation on Test-Driven Development (TDD) for a Java practice group here in Melbourne.  We’ve put the presentation up on our website – you’ll find a link to it on this page.

The presentation contains a detailed step-by-step example. It starts from scratch, demonstrating how to use TDD to implement an algorithm for formatting timesheet data. It then explains how to use the EasyMock framework to mock-out a DAO that looks up timesheet data. Finally, it shows you how to test the real DAO against a database using Spring’s integration testing support.


  1. This was a great presentation and really highlighted for need for such a technique in building quality software. As a by-product it also encourages simpler solutions, as with more code comes more testing.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s