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