Advanced Testing Patterns

- CEST
Joy

Tom Cools
Info Support nv, Software Developer

Geek in all facets of the word, including but not limited to board games, comic books, and programming. Developer without borders, both geographically and technically. Active as a consultant, usually for some of the biggest financial institutions in both Belgium and The Netherlands. Next to that, I am trainer/teacher who loves to share not only knowledge but also a passion for our craft.


Unit Tests by themselves give no guarantee that your system will work in a production environment. That’s where your code will have to work together with other resources like databases and APIs. Unfortunately, those are the kind of dependencies we try to avoid in tests by using mocking-frameworks. Risky business, because this means we’ll only know if the application really works when you push it to production.

In this session, we’ll look at some strategies you can use to test your application without mocking your dependencies away. You’ll discover how tools like Liquibase, TestContainers, WireMock and Pact can immensely improve your tests so you can deploy your application to production AND sleep at night.