Integration Testing of Spring Data JPA Repositories

Spring Data JPA makes the creation of JPA repositories extremely easy because in most cases we only have to create a special repository interface. The big question is: “How can we write tests for our repositories because after all, they are just interfaces?” This video answers to that question and describes how we can write integration tests for Spring Data JPA repositories.

Source code and more information about this topic on: http://www.petrikainulainen.net/programming/spring-framework/spring-data-jpa-tutorial-integration-testing/

Related Posts: