I need some advice.. currently I am trying to implement DBUnit tests for our Spring application. I am using the the spring-test-dbunit module.
The problem that I have is that I do not want to start up the spring container to run unit-tests but it seems that I need to.
How can I test CrudRepository methods without a Spring container?
If this were a Java EE application I could construct an EntityManager and execute @NamedQueries to test my data access layer. But as this is Spring a lot of the data access methods that I need to test exist only on the CrudRepository interface!