A presentation at NDC Porto in in Porto, Portugal by Philipp Krenn
How are you testing with your database?
So what is the solution? There are some very neat solutions based on containers, namely the Docker-Maven-Plugin and Testcontainers. From your tests you can start a lightweight, throwaway instance of your datastore and this talk will walk you through how to do that.
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.