I need to run my Quarkus Tests against multiple different databases. Right now I write an abstract class with the tests and for each database a class that inherits this class with
@QuarkusTest
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@TestProfile(OracleProfile.class)
Where OracleProfile is my test profile with the QuarkusTestResourceLifecycleManager implementation to start Oracle in Test containers and set the environment. The same is there for postgres and mysql.
This works but leads to an inflation of test classes with only Annotations. Is there a better way to do Tests against multiple profiles?