Package io.quarkus.test.junit
Annotation Interface DisabledOnIntegrationTest
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Inherited
public @interface DisabledOnIntegrationTest
@DisabledOnIntegrationTest
is used to signal that the annotated test class or
test method should not be executed for as part of a QuarkusIntegrationTest
.
@DisabledOnIntegrationTest
may optionally be declared with a reason to document why the annotated test class or test method is disabled.
When applied at the class level, all test methods within that class are automatically disabled.
When applied at the method level, the presence of this annotation does not
prevent the test class from being instantiated. Rather, it prevents the
execution of the test method and method-level lifecycle callbacks such as
@BeforeEach
methods, @AfterEach
methods, and corresponding
extension APIs.
-
Nested Class Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe types of Quarkus application produced by the build for which this test is disabled.Reason for disabling this test
-
Element Details
-
value
String valueReason for disabling this test- Default:
- ""
-
forArtifactTypes
DisabledOnIntegrationTest.ArtifactType[] forArtifactTypesThe types of Quarkus application produced by the build for which this test is disabled. For example, if the tests are supposed to be disabled for built containers only,ArtifactType.CONTAINER
would be set.- Default:
- {ALL}
-