A presentation at ContainerDays in in Hamburg, Germany by Philipp Krenn
How are you doing integration tests with your datastore?
So what is the solution? There is a very neat solution based on containers: TestContainers. From your tests you can start a lightweight, throwaway instance of your datastore and this talk will walk you through on how to do that as well as alternatives with docker-maven-plugin.
The following resources were mentioned during the presentation or are useful additional information.
Demoing multiple approaches of integration tests with Elasticsearch
Here’s what was said about this presentation on Twitter.