spring-testing-separate-data-source
Configuring Separate Spring DataSource for Tests 1. Overview When testing a Spring application that relies on a persistence layer, such as JPA, we may want to set up a test data source to use a smaller, faster database – one that is different from the one we use to run… Continue Reading spring-testing-separate-data-source