Package io.quarkus.test.junit
Class DisabledOnIntegrationTestCondition
java.lang.Object
io.quarkus.test.junit.DisabledOnIntegrationTestCondition
- All Implemented Interfaces:
org.junit.jupiter.api.extension.ExecutionCondition
,org.junit.jupiter.api.extension.Extension
public class DisabledOnIntegrationTestCondition
extends Object
implements org.junit.jupiter.api.extension.ExecutionCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.junit.jupiter.api.extension.ConditionEvaluationResult
evaluateExecutionCondition
(org.junit.jupiter.api.extension.ExtensionContext context) Containers/tests are disabled if@DisabledOnIntegrationTest
is present on the test class or method and we're running on a native image.
-
Constructor Details
-
DisabledOnIntegrationTestCondition
public DisabledOnIntegrationTestCondition()
-
-
Method Details
-
evaluateExecutionCondition
public org.junit.jupiter.api.extension.ConditionEvaluationResult evaluateExecutionCondition(org.junit.jupiter.api.extension.ExtensionContext context) Containers/tests are disabled if@DisabledOnIntegrationTest
is present on the test class or method and we're running on a native image.- Specified by:
evaluateExecutionCondition
in interfaceorg.junit.jupiter.api.extension.ExecutionCondition
-