Unitils is an open source testing library that makes unit and integration testing easy and maintainable based on testing frameworks JUnit and TestNG and integrates with other testing libraries like DBUnit and EasyMock. Unitils 1.1 release extends the testing of codes in context to Java Persistence API (JPA) along with the inegration with Spring and Hibernate.
Its features include -
· General Testing Utilities provide Equality Assertion through Reflection techniques.
· Database Testing Utilities provide maintenance of unit test database automatically that supports Oracle, MySQL, DB2 and others. It simplifies the process of unit test database connection and insertion of unit test data with DBUnit. It also provides automatic testing of mapping of the JPA/Hibernate objects with the database.
· Mock Object Utilities provide creation and injection of easyMock objects into a unit test.
· Spring Integration supports the usage of Hibernate SessionFactory and Beans based on the Spring framework into a unit test.
The Unitils project originates from a Discussion Group on unit testing at Ordina J-Technologies in 1996.