Notorious engineer at work and after hours, tracing meanders of the art of software engineering. Remote Software Gardener, mostly working in web-oriented Java gardens. Programming usually in Java (since 1.3) and Scala, but in other languages too. Fan of agility, seen mostly as choosing the right tools and approaches after asking the right questions. Developer, trainer and conference speaker. In his talks, Piotr covers not only hardcore Java but also software architecture, computer security, and soft-skills.
Unit tests are great, but without proper integration testing, especially if you work with microservices, you might not know how your application will actually behave once it has been deployed to the 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!