Using Testcontainers for Better Integration Tests in Java Microservices
Eclipse Foundation via YouTube
Overview
Watch a 32-minute conference talk from EclipseCon 2022 where Karsten Thoms of itemis AG demonstrates how to leverage Testcontainers framework for robust integration testing of Java microservices. Learn to set up infrastructure services using Docker images during test execution, making tests more reliable and faster to run. Discover the out-of-the-box supported services in Testcontainers, understand how to create custom adapters for unsupported containers, and explore the framework's impact on test execution time and test design. Follow along with practical examples using a SpringBoot application to see how to effectively test server application interactions with databases, message brokers, and other external services without depending on external infrastructure.
Syllabus
Mock my infrastructure! Using Testcontainers for better integration tests.
Taught by
Eclipse Foundation