Uses of Class
org.junit.jupiter.api.extension.ExtendWith
| Package | Description |
|---|---|
| org.junit.jupiter.api.condition |
Annotation-based conditions for enabling or disabling tests in JUnit Jupiter.
|
-
Uses of ExtendWith in org.junit.jupiter.api.condition
Classes in org.junit.jupiter.api.condition with annotations of type ExtendWith Modifier and Type Class Description interfaceDisabledForJreRange@DisabledForJreRangeis used to signal that the annotated test class or test method is only disabled for a specific range of Java Runtime Environment (JRE) versions fromDisabledForJreRange.min()toDisabledForJreRange.max().interfaceDisabledIf@DisabledIfis used to signal that the annotated test class or test method is disabled only if the provided condition evaluates totrue.interfaceDisabledIfEnvironmentVariable@DisabledIfEnvironmentVariableis used to signal that the annotated test class or test method is disabled if the value of the specified environment variable matches the specified regular expression.interfaceDisabledIfSystemProperty@DisabledIfSystemPropertyis used to signal that the annotated test class or test method is disabled if the value of the specified system property matches the specified regular expression.interfaceDisabledOnJre@DisabledOnJreis used to signal that the annotated test class or test method is disabled on one or more specified Java Runtime Environment (JRE) versions.interfaceDisabledOnOs@DisabledOnOsis used to signal that the annotated test class or test method is disabled on one or more specified operating systems.interfaceEnabledForJreRange@EnabledForJreRangeis used to signal that the annotated test class or test method is only enabled for a specific range of Java Runtime Environment (JRE) versions fromEnabledForJreRange.min()toEnabledForJreRange.max().interfaceEnabledIf@EnabledIfis used to signal that the annotated test class or test method is enabled only if the provided condition evaluates totrue.interfaceEnabledIfEnvironmentVariable@EnabledIfEnvironmentVariableis used to signal that the annotated test class or test method is only enabled if the value of the specified environment variable matches the specified regular expression.interfaceEnabledIfSystemProperty@EnabledIfSystemPropertyis used to signal that the annotated test class or test method is only enabled if the value of the specified system property matches the specified regular expression.interfaceEnabledOnJre@EnabledOnJreis used to signal that the annotated test class or test method is only enabled on one or more specified Java Runtime Environment (JRE) versions.interfaceEnabledOnOs@EnabledOnOsis used to signal that the annotated test class or test method is only enabled on one or more specified operating systems.