Package | Description |
---|---|
spock.guice |
Integration with Guice 2/3.
|
spock.lang |
The core specification language.
|
spock.util.mop |
Utilities related to Groovy meta programming.
|
Modifier and Type | Class and Description |
---|---|
interface |
UseModules
Activates Guice integration for a specification.
|
Modifier and Type | Class and Description |
---|---|
interface |
AutoCleanup
Automatically cleans up the object stored in the annotated field or property
at the end of its life time.
|
interface |
FailsWith
Indicates that a feature method is expected to fail with the given exception.
|
interface |
Ignore
Indicates that a specification or feature method should not be run.
|
interface |
IgnoreIf
Ignores the annotated spec/feature if the given condition holds.
|
interface |
IgnoreRest
Indicates that all feature methods except the ones carrying this annotation
should be ignored.
|
interface |
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.
|
interface |
Timeout
Indicates that the execution of a method should time out
after the given duration has elapsed.
|
interface |
Unroll
Indicates that iterations of a data-driven feature should be made visible
as separate features to the outside world (IDEs, reports, etc.).
|
Modifier and Type | Class and Description |
---|---|
interface |
ConfineMetaClassChanges
Confines any changes made to the meta classes of the specified classes to the
annotated scope.
|
interface |
Use
Activates one or more Groovy categories while the annotated spec method
or class executes.
|
Copyright © 2014. All rights reserved