Rethinking integration testing with Testcontainers

Hands-on Labs

Room: Neuilly 231M-232M

Scheduled at : Thursday 10:45 14:15


Before Docker, configuring the environment for integration testing was painful - people were using fake database implementations, mocking servers, usually it was not cross-platform as well. However, than to Docker, now we can quickly prepare the environment for our tests.

In this lab, I would like to show how you can use Testcontainers - a popular testing library that harnesses Docker to easily, reliably, spin up test dependencies.

If you don't have Docker available at your machine, don't worry, we'll solve it at the workshop.

You’ll go through the process adding powerful integration tests to your codebase (we’ll use a Spring Boot app) without the headache of managing external service dependencies manually. And get acquainted with all necessary Testcontainers concepts to write elegant, efficient, and reliable integration tests.

Piotr Przybyl

Piotr Przybyl

Notorious engineer at work and after hours, tracing meanders of the art of software engineering. Remote Software Gardener, mostly working in web-oriented Java gardens. Programming usually in Java (since 1.3) and Scala, but in other languages too. Fan of agility, seen mostly as choosing the right tools and approaches after asking the right questions. Developer, trainer and conference speaker. In his talks, Piotr covers not only hardcore Java but also software architecture, computer security, and soft-skills.

Speaker's bio
Oleg Šelajev

Oleg Šelajev

Oleg Šelajev is a developer advocate at AtomicJar working on making integration tests with Testcontainers better for everyone in the community. VirtualJUG leader. In 2017 became a Java Champion.

Speaker's bio
Presentation type Hands-on Labs
Track Cloud, Containers & Infrastructure, DevOps
Presentation level beginner/novice
Keywords Simple Rules for Writing Great Testcases Docker TestEngines

Room Neuilly 231M-232M