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 asIgnoreIf
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
-
-