Skip to main content

Integration Tests with Testcontainers

Learn Integration Tests with Testcontainers (Testing in Practice, JUnit 5 & Mockito) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Testcontainers starts real databases and brokers in Docker for tests, so you test against MySQL, Oracle, Kafka or Redis instead of an in-memory fake that behaves differently.

More lessons in Testing in Practice