Krakow, Poland, 22 - 24 June 2022
Oleg Šelajev is a developer advocate at AtomicJar working integration tests with Testcontainers better for everyone in the community. VirtualJUG leader. In 2017 became a Java Champion.
Removing complexity from integration tests using Testcontainers!
ConferenceUnit tests are great, but without proper integration testing, especially if you work with microservices, you might not know how your application behaves once it will be deployed to a real production environment.
In this talk I would like to show how you can use Testcontainers – popular testing libraries for Go, Java, Node, Python, and even Rust, that provide lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container. We will integrate it into a typical microservice example and use real PostgreSQL databases and local Kafka clusters to test it, will isolate it from other services, then start Selenium browsers in Docker and test our application, and all with the same library!
You’ll learn everything necessary to start adding powerful integration tests to your codebase without the headache of managing external service dependencies manually!