Using a pre-populated Database with Testcontainers
June 22, 2020In this last post about this series about Testcontainers we'll explore an alternative to using init scripts that involve pre-populating your test data inside the Docker image itself.
In this last post about this series about Testcontainers we'll explore an alternative to using init scripts that involve pre-populating your test data inside the Docker image itself.
Testcontainers allow setting init scripts to run SQL files when your container start. We'll explore using this feature on this post.
In this post we'll go through the basics of testcontainers with Spring Boot, from creating the project and running your first test using Testcontainers.
Hello, World!