Anton Arhipov | Devoxx

Anton Arhipov
Anton Arhipov Twitter

From ZeroTurnaround

Anton is a Developer Advocate at ZeroTurnaround. Having contributed to XRebel, the profiler for web applications, and JRebel, the productivity tool for Java developers, his professional interests include everything Java, especially developer tooling.

Nominated Java Champion title in 2014, Anton is also involved with GeekOut Java conference in Tallinn, Estonia. He blogs at http://arhipov.blogspot.com, speaks at Java conferences, occasionally writes articles for RebelLabs at http://rebellabs.org, tweets from @antonarhipov handle and you can find him at LinkedIn http://linkd.in/aarhipov

Blog: https://zeroturnaround.com/

cloud Cloud, Containers & Infrastructure

TestContainers – integration testing without the hassle

Tools-in-Action

Unit testing is nice, but without a proper integration testing, especially if you work with external resources like databases and other services, you might not know how your application will behave once it's deployed to the real environment.

Before the Docker, configuring the environment for integration testing was painful – people were using fake database implementations, mocking servers, usually it wasn't cross-platform as well. But now, we can easily prepare the environment with Docker for our tests.

In this talk I would like to spread the word about TestContainers ( https://github.com/testcontainers/testcontainers-java ) – a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.

A year ago we (ZeroTurnaround) decided to join our Docker-based test engine and TestContainers, and now it's open-sourced, available to everyone, so you can test your apps like we do :)