Annotation Interface WithFeature


@Target(METHOD) @Retention(RUNTIME) public @interface WithFeature
Used together with the TogglzRule on test methods.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The features to enable
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    disable the features instead of enabling them
  • Element Details

    • value

      String[] value
      The features to enable
    • disable

      boolean disable
      disable the features instead of enabling them
      Default:
      false