Stichwort

Service Testing

Browsing

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 all the features you need, if not, you“™ll have to develop expensive workarounds. With Testcontainers, you can easily setup a…