Use Testcontainers to create a Docker Test Image
Tackle those long Liquibase/Flyway changelogs or setup your testdata from code!
TLDR?! You can always just check out the example on Github. Prerequisites: You should be familiar with JUnit, Testcontainers and have some fundamental Docker knowledge. I’ve seen a lot of projects use a database management tool like Flyway or Liquibase to update their databases. In production, only a small part of the changelog will need to run because most of the changes have already been applied in previous deployments. [Read More]