Introduction to Testcontainers

November 21, 2022
Traditional approaches to integration testing—using shared, local, or in-memory databases—fall short for today's modern developer. Developers today are building cloud native distributed microservices and are taking advantage of a rich variety of backing services. This explosion of applications and backing services introduces new challenges in creating the necessary environments for integration testing. To be useful and effective, these environments must be easy to create and they must resemble production as closely as possible. New solutions are needed to make this need a reality. Enter Testcontainers! Testcontainers Java is a library that supports JUnit tests and makes it incredibly easy to create lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container. In this talk, you'll learn when and how to use Testcontainers for Java. We'll cover the fundamentals and walk through examples to illustrate various ways you can apply Testcontainers to your applications.
Previous
Protect Your Microservices with Spring Cloud Gateway
Protect Your Microservices with Spring Cloud Gateway

Microservice architectures simplify the individual components that comprise our applications, but they intr...

Next Presentation
Running Untrusted Code in Spring with WebAssembly
Running Untrusted Code in Spring with WebAssembly

This session covers the basic mechanics of WebAssembly—what does it look like, how do you create one, and h...