People write unit tests that fail to catch bugs or do not write unit tests at all because they don't know how. This presentation will show how to write unit tests for three of the most common problems:
- testing of interfaces
- mocking dependencies
- testing DAO without a database
Also discussed will be how unit testing can speed up your development, allow for division of labor in pairwise programming, and how this approach will help you enforce good programming and design practices.
Speaker: Tomasz Mozolewski
Sponsor: Envision
Meeting Slides and Code: AprilGatewayJUG.zip
Comments