Testing Containers with TestContainers: There and Back Again

Session abstract

You never know how your application will perform once deployed to production. Sure, you have unit tests and your test coverage is sky-high. However, you might depend on external resources such as databases, web services, and distributed caches. Moreover, without proper integration testing, you cannot be confident about the stability of your production environment. This session’s speaker would like to spread the word about the awesome project TestContainers, an open source Java library that exposes APIs for JUnit tests. It provides lightweight, disposable instances of shared databases, distributed caches or grids, and anything else that can run in a Docker container, all securely and reliably downloaded from your Docker Hub.


Name Title Company
Viktor Gamov Solutions Architect Confluent

Session Info

Experience Session type Track
Intermediate Conference Session Java Development Tools

My Notes

The braindump of the talk


  • one thing should do in thing


Or the Spotify maven plugin

why not mutiple things in one container




  • confluenceinc on dockerhub

  • remove the database 😃

Test containers

  • he demos it. Here some code snippets…

what to expect


Nice 👍 talk.