Spring Boot Testcontainers integration testing: what to test with real PostgreSQL, Kafka, and Redis
· 4 min read

TL;DR: Testcontainers changed Spring Boot integration testing by replacing in-memory databases like H2 with real Docker containers. But starting a container is only part of the work. Seeding it with realistic data is still difficult. This post explores when to use Testcontainers, when to use pure trace replay, and how BitDive combines both to give you real databases auto-seeded with production data.
