Quarkus Custom Test Profile

388 Views Asked by At

I have test profile I am trying to apply to some of my quarkus tests

    @Nested
    @TestMethodOrder(MethodOrderer.OrderAnnotation.class)
    @TestProfile(NoMonitoringProfile.class)
    class ComplexMissionLifeCycleTest {

I'm trying to run tests in order, but unfortunately when I apply the test profile it seems quarkus is applying the profile to each @Test in the class and restarting the application instance each time. This does a few things. It kills the data I'm storing for my test and more it makes the running of the test brutally slow.

Is there a way to apply a profile to the whole class and only have quarkus start once with that profile?

0

There are 0 best solutions below