Annotation Interface QuarkusMainTest


@Target(TYPE) @ExtendWith(QuarkusMainTestExtension.class) @Retention(RUNTIME) public @interface QuarkusMainTest
Annotation that indicates that this test should run the Quarkus main method inside the current JVM. A new in-memory quarkus application will be generated, and will be run to completion. Injection of beans into a test class using @Inject is not supported in QuarkusMainTest. Methods inside the test class must be annotated with Launch or have a QuarkusMainLauncher parameter to be able to start the application manually. Note that this can be used in conjunction with other QuarkusTest based tests. QuarkusMainTest is used to check a complete execution, while QuarkusTest can be used to inject components and perform more fine-grained checks.