geekyhacker.com
PostgreSQL integration tests using Testcontainers
Running tests against a real database provides more confidence in comparison to an in-memory database such as H2. For that, the Testcontainers library is a wise choice as it provides an out-of-the-…