Package org.junit.jupiter.api.condition
Annotation Type EnabledOnOs
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @ExtendWith(org.junit.jupiter.api.condition.EnabledOnOsCondition.class) @API(status=STABLE, since="5.1") public @interface EnabledOnOs
@EnabledOnOs
is used to signal that the annotated test class or test method is only enabled on one or more specified operating systems.When applied at the class level, all test methods within that class will be enabled on the same specified operating systems.