In this post we will discuss Testcontainers, a Java library for building more robust testing. When talking about testing, we are familiar with unit testing and integration testing. While the first aims to guarantee the testing of a single piece of code, the second one aims to test the functionality for a set of components integrated. In this second scenario is where the challenges appear more often. For GumGum’s main Advertising API, we have always done unit testing using mocks for service layers and controllers, however we wanted to expand our integration coverage. This includes things like testing the DAOs…


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store