Package spock.lang

Annotation Type IgnoreIf

  • @Retention(RUNTIME)
    public @interface IgnoreIf
    Ignores the annotated spec or feature if the given condition holds. Same as Requires except that the condition is inverted. The configured closure is called with a delegate of type PreconditionContext which provides access to system properties, environment variables, the type of operating system and JVM.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends Closure> value  
    • Element Detail

      • value

        java.lang.Class<? extends Closure> value