Simplifying Integration Tests With Test Containers • Oleg Šelajev • Devoxx Poland 2022

youtube.com 1 rok temu


Unit tests are great, but without appropriate integration testing, especially if you work with microservices, you might not know how your application behaves erstwhile it will be deployed to a real production environment.

In this talk I would like to show how you can usage Testcontainers – popular investigating libraries for Go, Java, Node, Python, and even Rust, that supply 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 usage real PostgreSQL databases and local Kafka clusters to test it, will isolate it from another services, then start Selenium browsers in Docker and test our application, and all with the same library!

You’ll learn everything essential to start adding powerful integration tests to your codebase without the headache of managing external service dependencies manually!

Lecture took place on Wednesday 22nd June 2022 at 14:40 in area 1

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

#IT #Development #SoftwareDevelopment