Publisher review:Unitils is an open source library aimed at making unit testing easy and maintainable. Unitils is an open source library aimed at making unit testing easy and maintainable. Unitils builds further on existing libraries like DBUnit and EasyMock and integrates with JUnit and TestNG .
Unitils provides general asserion utilities, support for database testing, support for testing with mock objects and offers integration with Spring , Hibernate and the Java Persistence API (JPA). It has been designed to offer these services to unit tests in a very configurable and loosely coupled way. As a result, services can be added and extended very easily.
Features:
- General testing utilities
- Equality assertion through reflection, with different options like ignoring Java default/null values and ignoring order of collections
- Database testing utilities
- Automatic maintenance and constraints disabling of unit test databases
- Support for Oracle, Hsqldb, MySql, DB2, Postgresql and Derby
- Simplify unit test database connection setup
- Simple insertion of test data with DBUnit
- Run tests in a transaction
- JPA entity manager creation and injection for hibernate, toplink and openjpa
- Hibernate SessionFactory creation and session management
- Automatically test the mapping of JPA entities / hibernate mapped objects with the database
- Mock object utilities
- Simplify EasyMock mock object creation
- Simplify mock object injection
- EasyMock argument matching using reflection equality
- Spring integration
- ApplicationContext configuration and easy injection of spring managed beans into a unit test
- Support for using a Spring-configured Hibernate SessionFactory in unit tests.
Unitils 1.1RC2 is a Java script for XML Tools scripts design by Filip Neven.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Unitils is an open source library aimed at making unit testing easy and maintainable.
Operating system:Windows / Linux / Mac OS / BSD / Solaris