Quarkus tests with Testcontainers and PostgreSQL
Testcontainers is a Java library that allows integrating Docker containers in JUnit tests with ease. In a Containerized World , there is little sense to complicate the tests configuration with embedded databases and services. Instead, use run your services in Docker and let the Testcontainers manage this for you. So if you are need Redis, MongoDB or PostgreSQL in your tests - Testcontainers may become your good friend. In this blog post you will learn how to configure Testcontainers to manage PostgreSQL instance in Quarkus integration tests.