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 […]
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 […]
Testcontainers is an MIT-licensed Java library that enables you to easily launch and wire up Docker containers from within unit tests.