Package io.quarkus.test.junit.main
Annotation Type 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@Injectis not supported inQuarkusMainTest. Note that this can be used in conjunction with otherQuarkusTestbased tests.QuarkusMainTestis used to check a complete execution, whileQuarkusTestcan be used to inject components and perform more fine-grained checks.