Uses of Package
org.junit.jupiter.api.condition
Packages that use org.junit.jupiter.api.condition
Package
Description
Annotation-based conditions for enabling or disabling tests in JUnit Jupiter.
-
Classes in org.junit.jupiter.api.condition used by org.junit.jupiter.api.conditionClassDescriptionBase class for OS-based
ExecutionCondition
implementations.Abstract base class forExecutionCondition
implementations that support repeatable annotations.@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 fromDisabledForJreRange.min()
toDisabledForJreRange.max()
.@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
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
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
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
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 fromEnabledForJreRange.min()
toEnabledForJreRange.max()
.@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
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
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
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.Enumeration of Java Runtime Environment (JRE) versions.Enumeration of common operating systems used for testing Java applications.