Package org.junit.jupiter.api.condition
Annotation Type DisabledOnJre
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @ExtendWith(org.junit.jupiter.api.condition.DisabledOnJreCondition.class) @API(status=STABLE, since="5.1") public @interface 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.When applied at the class level, all test methods within that class will be disabled on the same specified JRE versions.