I think that the integration testing of Spring Data Repositories is an important and often neglected topic.
That is why I decided to turn my recent blog post about it into a screencast which answers to the following question:
How can we write tests for our repositories because after all, they are just interfaces?
This screencast will teach us to
- Get the required dependencies with Maven
- Configure Spring Test DBUnit
- Integrate Spring Test DBUnit with the Spring Test Framework
- Write integration tests for Spring Data JPA repositories