| Package | Description |
|---|---|
| org.junit.jupiter.api.condition |
Annotation-based conditions for enabling or disabling tests in JUnit Jupiter.
|
| Class and Description |
|---|
| AbstractOsBasedExecutionCondition
Base class for OS-based
ExecutionCondition implementations. |
| AbstractRepeatableAnnotationCondition
Abstract base class for
ExecutionCondition implementations that support
repeatable annotations. |
| BooleanExecutionCondition |
DisabledForJreRange
@DisabledForJreRange is used to signal that the annotated test class or
test method is only disabled for a specific range of Java Runtime
Environment (JRE) versions from DisabledForJreRange.min() to DisabledForJreRange.max(). |
DisabledIfEnvironmentVariable
@DisabledIfEnvironmentVariable is 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. |
DisabledIfSystemProperty
@DisabledIfSystemProperty is 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. |
DisabledOnJre
@DisabledOnJre is used to signal that the annotated test class or
test method is disabled on one or more specified Java
Runtime Environment (JRE) versions. |
DisabledOnOs
@DisabledOnOs is used to signal that the annotated test class or
test method is disabled on one or more specified
operating systems or on one or more specified
architectures |
EnabledForJreRange
@EnabledForJreRange is used to signal that the annotated test class or
test method is only enabled for a specific range of Java Runtime
Environment (JRE) versions from EnabledForJreRange.min() to EnabledForJreRange.max(). |
EnabledIfEnvironmentVariable
@EnabledIfEnvironmentVariable is 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. |
EnabledIfSystemProperty
@EnabledIfSystemProperty is 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. |
EnabledOnJre
@EnabledOnJre is used to signal that the annotated test class or
test method is only enabled on one or more specified Java
Runtime Environment (JRE) versions. |
EnabledOnOs
@EnabledOnOs is used to signal that the annotated test class or
test method is only enabled on one or more specified
operating systems or one or more specified
architectures. |
| JRE
Enumeration of Java Runtime Environment (JRE) versions.
|
| MethodBasedCondition |
| OS
Enumeration of common operating systems used for testing Java applications.
|