Testcontainers and SpringBoot: from integration tests to local development

A presentation at Spring IO 2022 in in Barcelona, Spain by Oleg Šelajev

Testcontainers libraries integrate with Spring Boot to offer seamless, unit-test like experience for integration tests with real services running in containers: Kafka, databases, Elasticsearch, cloud technologies and everything else runnable in Docker. This flexibility can help in development environments automatically providing access to all required services without complex setups.

In this session we’ll show how you can supercharge your existing testing infrastructure based on Testcontainers for local development, programmatically require service dependencies without sacrificing speed of your development loop!