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.