Package spock.lang
Annotation Type IgnoreIf
-
@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface IgnoreIf
Ignores the annotated spec or feature if the given condition holds. Same asRequires
except that the condition is inverted. The configured closure is called with a delegate of typePreconditionContext
which provides access to system properties, environment variables, the type of operating system and JVM.
-
-
Element Detail
-
value
java.lang.Class<? extends Closure> value
-
-