Learn how to use Testcontainers efficienly in your apps making tests reliable and fun (easy to maintain, run individually, self-contain the configuration, etc).
Unit testing is fine, but without proper integration testing, especially if you work with external resources like databases and other services, you might not know how your application will actually behave once it has been deployed to the real production environment.
Before Testcontainers, configuring the environment for integration testing was painful – people were using fake database implementations, mocking servers, usually it was not cross-platform as well. However, thanks to containers, now we can quickly prepare the environment for our tests.
In this workshop, we will learn how you can use Testcontainers, a popular JVM testing library that harnesses containers to easily, reliably, spin up test dependencies. We will learn how to use it for testing legacy application in an out-of-process approach, but also how you can leverage it to boost your developer productivity when used in conjunction with modern microservice frameworks such as Spring-Boot, Quarkus, or Micronaut.