Package spock.lang

Annotation Type Requires


@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface Requires
Ignores the annotated spec or feature unless the given condition holds. Same as IgnoreIf except that the condition is inverted.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends groovy.lang.Closure>
     
  • Element Details

    • value

      Class<? extends groovy.lang.Closure> value