Annotation Interface EnabledIf


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @ExtendWith(EnabledIfCondition.class) public @interface EnabledIf
@EnabledIfProperty is used to signal that the annotated test class or test method is only enabled if the value of the specified supplier class(es) return true.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends BooleanSupplier>[]
    Only include this build step if the given supplier class(es) return true.
  • Element Details

    • value

      Class<? extends BooleanSupplier>[] value
      Only include this build step if the given supplier class(es) return true.
      Returns:
      the supplier class array
      Default:
      {}