Sessions

Discover our confirmed talks!
blend-mode

Oleg Šelajev Docker

Oleg Šelajev
blend-mode

Eddú MeléndezDocker

Eddú Meléndez

Making your own Testcontainers module for fun and profit! [Workshop]

Oleg Šelajev - Docker / Eddú Meléndez - Docker

Testcontainers libraries are a de-facto standard for integration testing in the Java community. One of the reasons for its popularity is the ecosystem of the modules – pre-defined abstractions for creating containerized services for your tests in a single line of code.

Testcontainers modules help to integrate with new technologies, hide setup complexity behind a neat abstraction, or use in-house Docker images without using lower-level API all the time.

In this lab, we’ll go over the architecture of a module, see how one can implement it for various technologies - databases, cloud-native sidecars, command line tools you want to have programmatic access too, and make a few small but helpful modules ourselves.

Learning how Testcontainers can encapsulate a technology and integrate it into your Spring application lifecycle will be incredibly useful. Whether your want to implement chaos engineering practices, or improve your team’s productivity, creating a Testcontainers module is an excellent way to abstract away some of the complexity of your integration tests and contribute to the Java ecosystem.

View all sessions
x

Cookies policy

Spring I/O uses cookies to deliver superior functionality and to enhance your experience of our website. Continued use of this site indicates that you accept this policy. Read about how we use cookies and how you can control them here