When writing integration tests with Testcontainers, a significant portion of the code gets dedicated to declaring, configuring, and starting the required container

Read More

Caching has become an essential part in modern web applications. It helps us to reduce the load on an underlying datasource, reduces

Read More


Prerequisites for Writing Integration TestsSo far, we've tested several parts of our application that doesn't need any external setup. Well, that's not entirely

Read More

Testcontainers offers several initialization strategies for our Docker containers when writing integration tests. Depending on the Docker image we use for our

Read More

MongoDB is one of the NoSQL databases that Spring Boot offers great testing support for. Like all other test slice annotations from

Read More

Good old web tests – extremely valuable, sometimes hard to maintain, and annoying once they get flaky. If you are familiar with

Read More


Read More


Hint on Using Docker Compose with TestcontainersWhile technically possible, I'd now (based on my experience in the last years) favor separate Testcontainers

Read More

Recently I introduced Testcontainers for a Kotlin based Spring Boot application. I jumped right into the setup and immediately ran into an

Read More


Further resources on Testcontainers​Different ways of setting up Testcontainers with Spring BootTestcontainers Homepage

Read More