Uses of Annotation Interface
org.junit.jupiter.api.extension.ExtendWith

Packages that use ExtendWith
Package
Description
Annotation-based conditions for enabling or disabling tests in JUnit Jupiter.
java.util-related support 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
    @interface 
    @DisabledForJreRange is used to signal that the annotated test class or test method is disabled for a specific range of Java Runtime Environment (JRE) versions.
    @interface 
    @DisabledIf is used to signal that the annotated test class or test method is disabled if the provided condition evaluates to true.
    @interface 
    @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.
    @interface 
    @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.
    @interface 
    @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.
    @interface 
    @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
    @interface 
    @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.
    @interface 
    @EnabledIf is used to signal that the annotated test class or test method is only enabled if the provided condition evaluates to true.
    @interface 
    @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.
    @interface 
    @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.
    @interface 
    @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.
    @interface 
    @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.
  • Uses of ExtendWith in org.junit.jupiter.api.util

    Classes in org.junit.jupiter.api.util with annotations of type ExtendWith
    Modifier and Type
    Class
    Description
    @interface 
    @ClearSystemProperty is an annotation that is used to clear the value of a JVM system property for test execution.
    @interface 
    @DefaultLocale is a JUnit Jupiter extension for changing the value returned by Locale.getDefault() for a test execution.
    @interface 
    @DefaultTimeZone is a JUnit Jupiter extension for changing the value returned by TimeZone.getDefault() for a test execution.
    @interface 
    @RestoreSystemProperties is an annotation that is used to restore the entire set of JVM system properties to its original state, or the state of the higher-level container, after execution of the annotated element has completed.
    @interface 
    @SetSystemProperty is an annotation that is used to set the value of a JVM system property for test execution.