Reuse containers with Testcontainers to improve build times

Опубликовано: 19 Май 2026
на канале: Philip Riecks
3,052
63

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 https://rieckpil.de/reuse-containers-...

You can find additional information on Testcontainers here: https://rieckpil.de/?s=testcontainers

The source code is available on GitHub: https://github.com/rieckpil/blog-tuto...

» Want to become an expert for testing Spring Boot applications? Join the Testing Spring Boot Applications Masterclass: https://rieckpil.de/testing-spring-bo...

» Join the 14 Days Free Email Course on Testing Java Applications to Accelerate Your Testing Success: https://rieckpil.de/getting-started-w...

#Testcontainers #ReuseContainers #FastBuildTimes