This tutorial covers a feature of Testcontainers that allows you to reuse containers. Since Testcontainers 1.12.3 this feature is in alpha state and reduces time spent on running integration tests.

Take a look at the corresponding blog post for further insights

You can find additional information on Testcontainers here:

The source code is available on GitHub:

» Want to become an expert for testing Spring Boot applications? Join the Testing Spring Boot Applications Masterclass:

» Join the 14 Days Free Email Course on Testing Java Applications to Accelerate Your Testing Success:


Reuse Containers with Testcontainers to Improve Build Times
1.10 GEEK