Package spock.lang

The core specification language.

See:
          Description

Class Summary
Specification Base class for Spock specifications.
 

Annotation Types Summary
AutoCleanup Automatically cleans up the object stored in the annotated field or property at the end of its life time.
FailsWith Indicates that a feature method is expected to fail with the given exception.
Ignore Indicates that a specification or feature method should not be run.
IgnoreIf Ignores the annotated spec/feature if the given condition holds.
IgnoreRest Indicates that all feature methods except the ones carrying this annotation should be ignored.
Issue Indicates that a feature method or specification relates to one or more issues in an external issue tracking system.
See One or more references to external information related to a specification or feature.
Shared Indicates that a field is shared among all feature methods in a specification.
Stepwise Indicates that a spec's feature methods should be run sequentially in their declared order (even in the presence of a parallel spec runner), always starting from the first method.
Subject Indicates which objects/classes are the subjects of a specification.
Timeout Indicates that the execution of a method should time out after the given duration has elapsed.
Unroll Indicates that iterations of a data-driven feature should be made visible as separate features to the outside world (IDEs, reports, etc.).
 

Package spock.lang Description

The core specification language.