Skip to content
Framework for unit testing Spring based DAOs
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
ormtest
ormtesttest
spring2_5
spring3_0
spring3_1
spring3_2
.travis.yml
LICENSE
README
README.md
RELEASE-NOTES.txt
pom.xml

README.md

OrmTest - Object Relation Mapping Testing

Build Status

What is it?

OrmTest is a java framework for easy JUnit 4.9+ testing of object-relation mappings in projects that use Spring-based DAOs. OrmTest eliminates the need to start a spring context during transactional tests. This way tests run much faster and are much simpler.

Hibernate, iBATIS, JDBC

Currently OrmTest supports testing of DAOs that use Hibernate, iBATIS or JDBC.

Usage

Add OrmTest maven dependency:

<dependency>
    <groupId>pl.touk.ormtest</groupId>
    <artifactId>ormtest</artifactId>
    <version>0.9.1</version>
    <scope>test</scope>
</dependency>

Then follow javadoc examples.

For Hibernate see HibernateSpringTxTestRule.

For iBATIS see IbatisSpringTxTestRule.

For JDBC see JdbcSpringTxTestRule.

Javadoc

http://touk.github.io/ormtest/apidocs/

Project license

OrmTest is an open source project released under the Apache License, Version 2.0.

Author

OrmTest was created in TouK by Michał Sokołowski.

Something went wrong with that request. Please try again.