J-Spring 2022: Oleg Selajev – Mastering Testcontainers for better integration tests
https://jspring.nl https://nljug.org Testcontainers libraries are a great way to create a reliable environment for running tests. It provides programmable, lightweight, and disposable containers to give you more confidence in your integration tests. Getting started with Testcontainers is super straightforward, but have you looked into more advanced features to supercharge your test suite? In this session, we’ll look deeper at Testcontainers and learn cool things like what’s the best way to debug what happens in a container? How to build more complex topologies of services? What’s the best way to migrate from Docker compose? How can one use Testcontainers for local development in addition to integration tests? And what’s the magical reusable mode everyone is talking about? Whether you’re a practitioner with solid test coverage or just beginning your journey into writing more reliable software, this session will introduce you to Testcontainers and its pretty cool capabilities!