October 2018
Intermediate to advanced
590 pages
15h 5m
English
In HibernateUserRepositoryTests, we will create the following test methods to cover different scenarios:
First of all, let's add a H2 dependency into Maven's pom.xml as follows, so that when Spring Boot starts the tests, it knows that we need H2 instead of MySQL:
<dependency> <groupId>com.h2database</groupId> ...
Read now
Unlock full access