The minimal example only contains the bare minimum maven configuration.
The maven configuration does:
- Clean the environment from previously running instances
- Startup the needed db + provider containers
- Invoke flyway to run the db migration
- Setup the testdb pool for the prepared database
- Run the tests
- Stop the containers
This example also shows how a pooled database can be updated via the dedicated PoolSetupAction
class. It recreates the db and runs flyway to setup the tables. Afterwards it re-created the testdatabase pool.