Boosting Test Performance With TestContainers
…as noted above, there always seems to be some drawback. In this case, the overhead of starting the Docker image and everything it contains will increase your overall build time.
As a reminder, here’s the TestContainer-specific code. Note the instance member
postgres and the JUnit
Rule that re-initializes it on a per-method basis:
via DZone.com Feed https://dzone.com
May 18, 2017 at 10:39AM