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