Training: Test Driven Development and Unit Testing Cooking Book
Last Tuesday I led a training session about Test Driven Development (TDD) in general, and Unit Tests in particular. I presented a series of best practices related to unit tests, as a set of “receipts”.
The target audience is developpers, either Java coders or other ones. The exercises have no interest from a Java perspective, but are intented at teaching the main concepts and tricks of unit testing.
The exercices are the following:
- basics
- methods within methods
- layers and mocks
- private methods
- exceptions
- loggers
- new Date()
Here is the presentation:
The original OpenOffice file is hosted by GoogleDocs: Test Driven Development and Unit Testing Cooking Book
The source code of exercises and corrections are available at this link.