Testcontainers – Unleash Your (Unit) Tests Using Docker (3/3)

In a previous post, we learned about some interesting use cases of Testcontainers; now you’ll see how to integrate it into CI systems running within Docker containers themselves. Integration with OpenShift If you are using a CI environment that runs itself in Docker container, like Jenkins in the highly recommended OpenDevStack (which is based on […]

Testcontainers – Unleash Your (Unit) Tests Using Docker (2/3)

In a previous post, we learned what Testcontainers is; now you’ll see some examples of its use. Use Case: Integration Tests with Database Imagine, your production system makes use of a Postgres database. Without Testcontainers, you would typically set up an in-memory database like H2 to back your persistence service. If you’re lucky, H2 supports […]