Writing unit tests should be easy and intuitively... at least in
theory. In practice, you need a lot of infrastructure, libraries and
boilerplate code before you get to do something productive on a
database driven enterprise project.
Unitils is an open source library, written by a number of colleagues from Ordina J-Technologies , aimed at making unit testing easy and maintainable. Unitils builds further on existing libraries like DBUnit and EasyMock and integrates with JUnit and TestNG. The framework includes general assertion utilities, support for database testing, for testing with mock objects and offers integration with Spring and Hibernate. It has been designed to offer these services to unit tests in a very configurable and loosely coupled way.
During this presentation we will discuss unit test guidelines and best
practices. We will make use of examples to demonstrate how Unitils can
help you in writing simple and maintainable unit tests.
Comments