A B C D E F G H I J L M N O P Q R S T U V W _ 

A

annotations - Variable in class spock.config.IncludeExcludeCriteria
 
AsyncConditions - Class in spock.util.concurrent
Alternative to class BlockingVariable(s) that allows to evaluate conditions in a thread other than the spec runner's thread(s).
AsyncConditions() - Constructor for class spock.util.concurrent.AsyncConditions
Same as AsyncConditions(1).
AsyncConditions(int) - Constructor for class spock.util.concurrent.AsyncConditions
Instantiates an AsyncConditions instance with the specified number of evaluate blocks.
AutoAttach - Annotation Type in spock.mock
Automatically attaches detached mocks DetachedMockFactory to a Specification.
AutoAttachExtension - Class in spock.mock
 
AutoAttachExtension() - Constructor for class spock.mock.AutoAttachExtension
 
AutoCleanup - Annotation Type in spock.lang
Automatically cleans up the object stored in the annotated field or property at the end of its life time.
await() - Method in class spock.util.concurrent.AsyncConditions
Same as await(1).
await(double) - Method in class spock.util.concurrent.AsyncConditions
Waits until all evaluate blocks have completed or the specified timeout (in seconds) expires.
await(int, TimeUnit) - Method in class spock.util.concurrent.AsyncConditions
Deprecated.

B

baseClasses - Variable in class spock.config.IncludeExcludeCriteria
 
BlockingVariable<T> - Class in spock.util.concurrent
A statically typed variable whose get() method will block until some other thread has set a value with the set() method, or a timeout expires.
BlockingVariable() - Constructor for class spock.util.concurrent.BlockingVariable
Same as BlockingVariable(1).
BlockingVariable(double) - Constructor for class spock.util.concurrent.BlockingVariable
Instantiates a BlockingVariable with the specified timeout in seconds.
BlockingVariable(int, TimeUnit) - Constructor for class spock.util.concurrent.BlockingVariable
Deprecated.

C

call(double, Closure<?>) - Method in class spock.util.concurrent.PollingConditions
call(Closure<?>) - Method in class spock.util.concurrent.PollingConditions
condition() - Method in annotation type spock.lang.Retry
Condition that is evaluated to decide whether the feature should be retried.
ConfigurationException - Exception in spock.config
Thrown to indicate that there is a problem with Spock's configuration (file).
ConfigurationException(String, Object...) - Constructor for exception spock.config.ConfigurationException
 
ConfigurationException(String, Throwable, Object...) - Constructor for exception spock.config.ConfigurationException
 
ConfigurationObject - Annotation Type in spock.config
 
ConfineMetaClassChanges - Annotation Type in spock.util.mop
Confines any changes made to the meta classes of the specified classes to the annotated scope.
count() - Method in annotation type spock.lang.Retry
The number of retries.
createMock(String, Class<T>, MockNature, Map<String, Object>) - Method in class spock.mock.DetachedMockFactory
 
createMock(String, T, MockNature, Map<String, Object>) - Method in class spock.mock.DetachedMockFactory
 

D

delay() - Method in annotation type spock.lang.Retry
Delay between retries in millis, 0 to disable.
DetachedMockFactory - Class in spock.mock
This factory allows the creations of mocks outside of a Specification, e.g., in a Spring configuration.
DetachedMockFactory() - Constructor for class spock.mock.DetachedMockFactory
 

E

evaluate(Runnable) - Method in class spock.util.concurrent.AsyncConditions
Evaluates the specified block, which is expected to contain one or more explicit conditions (i.e.
eventually(Closure<?>) - Method in class spock.util.concurrent.PollingConditions
Repeatedly evaluates the specified conditions until they are satisfied or the timeout has elapsed.
exceptions() - Method in annotation type spock.lang.PendingFeature
Configures which types of Exceptions are expected in the pending feature.
exceptions() - Method in annotation type spock.lang.Retry
Configures which types of Exceptions should be retried.
Exceptions - Class in spock.util
 
Exceptions() - Constructor for class spock.util.Exceptions
 
exclude - Variable in class spock.config.RunnerConfiguration
 
expect(T, Matcher<? super T>) - Static method in class spock.util.matcher.HamcrestSupport
Alias for HamcrestSupport.that(Object, org.hamcrest.Matcher) intended for use in then-blocks.

F

FailsWith - Annotation Type in spock.lang
Indicates that a feature method is expected to fail with the given exception.
FEATURE - spock.lang.Retry.Mode
Retry the whole feature, if any iteration fails.
filterStackTrace - Variable in class spock.config.RunnerConfiguration
 

G

get() - Method in class spock.util.concurrent.BlockingVariable
Blocks until a value has been set for this variable, or a timeout expires.
getCauseChain(Throwable) - Static method in class spock.util.Exceptions
Returns a list of all causes of the specified exception.
getCurrent() - Static method in class spock.util.environment.Jvm
Returns the current JVM.
getCurrent() - Static method in class spock.util.environment.OperatingSystem
Returns the current operating system.
getDelay() - Method in class spock.util.concurrent.PollingConditions
Returns the delay (in seconds) between successive evaluations of the conditions.
getFactor() - Method in class spock.util.concurrent.PollingConditions
Returns the factor by which the delay grows (or shrinks) after each evaluation of the conditions.
getFamily() - Method in class spock.util.environment.OperatingSystem
Returns the family of the operating system.
getInitialDelay() - Method in class spock.util.concurrent.PollingConditions
Returns the initial delay (in seconds) before first evaluating the conditions.
getJavaSpecificationVersion() - Method in class spock.util.environment.Jvm
The Java specification version, as returned by the java.specification.version system property.
getJavaVersion() - Method in class spock.util.environment.Jvm
The Java version, as returned by the java.version system property.
getName() - Method in class spock.util.environment.OperatingSystem
Returns the name of the operating system, as returned by the os.name system property.
getRootCause(Throwable) - Static method in class spock.util.Exceptions
Returns the innermost cause of the specified exception.
getTimeout() - Method in class spock.util.concurrent.BlockingVariable
Returns the timeout (in seconds).
getTimeout() - Method in class spock.util.concurrent.PollingConditions
Returns the timeout (in seconds) until which the conditions have to be satisfied.
getVersion() - Method in class spock.util.environment.OperatingSystem
Returns the version of the operating system, as returned by the os.version system property.
GroovyMock() - Method in class spock.mock.MockingApi
Creates a Groovy mock whose type and name are inferred from the left-hand side of the enclosing variable assignment.
GroovyMock(Closure) - Method in class spock.mock.MockingApi
Creates a Groovy mock with the specified interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
GroovyMock(Class<T>) - Method in class spock.mock.MockingApi
Creates a Groovy mock with the specified type.
GroovyMock(Class<T>, Closure) - Method in class spock.mock.MockingApi
Creates a Groovy mock with the specified type and interactions.
GroovyMock(Map<String, Object>) - Method in class spock.mock.MockingApi
Creates a Groovy mock with the specified options whose type and name are inferred from the left-hand side of the enclosing variable assignment.
GroovyMock(Map<String, Object>, Closure) - Method in class spock.mock.MockingApi
Creates a Groovy mock with the specified options and interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
GroovyMock(Map<String, Object>, Class<T>) - Method in class spock.mock.MockingApi
Creates a Groovy mock with the specified options and type.
GroovyMock(Map<String, Object>, Class<T>, Closure) - Method in class spock.mock.MockingApi
Creates a Groovy mock with the specified options, type, and interactions.
GroovySpy() - Method in class spock.mock.MockingApi
Creates a Groovy spy whose type and name are inferred from the left-hand side of the enclosing variable assignment.
GroovySpy(Closure) - Method in class spock.mock.MockingApi
Creates a Groovy spy with the specified interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
GroovySpy(Class<T>) - Method in class spock.mock.MockingApi
Creates a Groovy spy with the specified type.
GroovySpy(Class<T>, Closure) - Method in class spock.mock.MockingApi
Creates a Groovy spy with the specified type and interactions.
GroovySpy(Map<String, Object>) - Method in class spock.mock.MockingApi
Creates a Groovy spy with the specified options whose type and name are inferred from the left-hand side of the enclosing variable assignment.
GroovySpy(Map<String, Object>, Closure) - Method in class spock.mock.MockingApi
Creates a Groovy spy with the specified options and interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
GroovySpy(Map<String, Object>, Class<T>) - Method in class spock.mock.MockingApi
Creates a Groovy spy with the specified options and type.
GroovySpy(Map<String, Object>, Class<T>, Closure) - Method in class spock.mock.MockingApi
Creates a Groovy spy with the specified options, type, and interactions.
GroovyStub() - Method in class spock.mock.MockingApi
Creates a Groovy stub whose type and name are inferred from the left-hand side of the enclosing variable assignment.
GroovyStub(Closure) - Method in class spock.mock.MockingApi
Creates a Groovy stub with the specified interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
GroovyStub(Class<T>) - Method in class spock.mock.MockingApi
Creates a Groovy stub with the specified type.
GroovyStub(Class<T>, Closure) - Method in class spock.mock.MockingApi
Creates a Groovy stub with the specified type and interactions.
GroovyStub(Map<String, Object>) - Method in class spock.mock.MockingApi
Creates a Groovy stub with the specified options whose type and name are inferred from the left-hand side of the enclosing variable assignment.
GroovyStub(Map<String, Object>, Closure) - Method in class spock.mock.MockingApi
Creates a Groovy stub with the specified options and interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
GroovyStub(Map<String, Object>, Class<T>) - Method in class spock.mock.MockingApi
Creates a Groovy stub with the specified options and type.
GroovyStub(Map<String, Object>, Class<T>, Closure) - Method in class spock.mock.MockingApi
Creates a Groovy stub with the specified options, type, and interactions.

H

HamcrestSupport - Class in spock.util.matcher
 
HamcrestSupport() - Constructor for class spock.util.matcher.HamcrestSupport
 

I

Ignore - Annotation Type in spock.lang
Indicates that a specification or feature method should not be run.
IgnoreIf - Annotation Type in spock.lang
Ignores the annotated spec or feature if the given condition holds.
IgnoreRest - Annotation Type in spock.lang
Indicates that all feature methods except the ones carrying this annotation should be ignored.
include - Variable in class spock.config.RunnerConfiguration
 
IncludeExcludeCriteria - Class in spock.config
Configuration indicating which specs and methods should be included/excluded from a spec run.
IncludeExcludeCriteria(Class<?>...) - Constructor for class spock.config.IncludeExcludeCriteria
 
interaction(Closure) - Method in class spock.mock.MockingApi
Encloses one or more interaction definitions in a then block.
isEmpty() - Method in class spock.config.IncludeExcludeCriteria
 
isJava10() - Method in class spock.util.environment.Jvm
Tells whether the Java version is 10.
isJava10Compatible() - Method in class spock.util.environment.Jvm
Tells whether the Java version is compatible with Java 10.
isJava11() - Method in class spock.util.environment.Jvm
Tells whether the Java version is 11.
isJava11Compatible() - Method in class spock.util.environment.Jvm
Tells whether the Java version is compatible with Java 11.
isJava5() - Method in class spock.util.environment.Jvm
Tells whether the Java version is 5.
isJava5Compatible() - Method in class spock.util.environment.Jvm
Tells whether the Java version is compatible with Java 5.
isJava6() - Method in class spock.util.environment.Jvm
Tells whether the Java version is 6.
isJava6Compatible() - Method in class spock.util.environment.Jvm
Tells whether the Java version is compatible with Java 6.
isJava7() - Method in class spock.util.environment.Jvm
Tells whether the Java version is 7.
isJava7Compatible() - Method in class spock.util.environment.Jvm
Tells whether the Java version is compatible with Java 7.
isJava8() - Method in class spock.util.environment.Jvm
Tells whether the Java version is 8.
isJava8Compatible() - Method in class spock.util.environment.Jvm
Tells whether the Java version is compatible with Java 8.
isJava9() - Method in class spock.util.environment.Jvm
Tells whether the Java version is 9.
isJava9Compatible() - Method in class spock.util.environment.Jvm
Tells whether the Java version is compatible with Java 9.
isLinux() - Method in class spock.util.environment.OperatingSystem
Tells whether the operating system family is Linux.
isMacOs() - Method in class spock.util.environment.OperatingSystem
Tells whether the operating system family is Mac OS.
isOther() - Method in class spock.util.environment.OperatingSystem
Tells whether the operating system family is anything other than those listed above.
isSolaris() - Method in class spock.util.environment.OperatingSystem
Tells whether the operating system family is Solaris.
Issue - Annotation Type in spock.lang
Indicates that a feature method or specification relates to one or more issues in an external issue tracking system.
isWindows() - Method in class spock.util.environment.OperatingSystem
Tells whether the operating system family is Windows.
ITERATION - spock.lang.Retry.Mode
Retry the iterations individually.

J

Jvm - Class in spock.util.environment
Provides information on the current JVM, such as its Java version.

L

LINUX - spock.util.environment.OperatingSystem.Family
A Linux operating system.

M

MAC_OS - spock.util.environment.OperatingSystem.Family
A Mac OS operating system.
Mock() - Method in class spock.mock.MockingApi
Creates a mock whose type and name are inferred from the left-hand side of the enclosing variable assignment.
Mock(Closure) - Method in class spock.mock.MockingApi
Creates a mock with the specified interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
Mock(Class<T>) - Method in class spock.mock.DetachedMockFactory
Creates a mock with the specified type.
Mock(Class<T>) - Method in interface spock.mock.MockFactory
Creates a mock with the specified type.
Mock(Class<T>) - Method in class spock.mock.MockingApi
Creates a mock with the specified type.
Mock(Class<T>, Closure) - Method in class spock.mock.MockingApi
Creates a mock with the specified type and interactions.
Mock(Map<String, Object>) - Method in class spock.mock.MockingApi
Creates a mock with the specified options whose type and name are inferred from the left-hand side of the enclosing variable assignment.
Mock(Map<String, Object>, Closure) - Method in class spock.mock.MockingApi
Creates a mock with the specified options and interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
Mock(Map<String, Object>, Class<T>) - Method in class spock.mock.DetachedMockFactory
Creates a mock with the specified options and type.
Mock(Map<String, Object>, Class<T>) - Method in interface spock.mock.MockFactory
Creates a mock with the specified options and type.
Mock(Map<String, Object>, Class<T>) - Method in class spock.mock.MockingApi
Creates a mock with the specified options and type.
Mock(Map<String, Object>, Class<T>, Closure) - Method in class spock.mock.MockingApi
Creates a mock with the specified options, type, and interactions.
MockFactory - Interface in spock.mock
Base interface for Java based mocks see MockingApi or DetachedMockFactory for more examples.
MockingApi - Class in spock.mock
Spock's mocking API primarily consists of the following factory methods: Mock() Creates a general-purpose test double that supports both stubbing and mocking. Stub() Creates a test double that supports stubbing but not mocking. Spy() Creates a test double that, by default, delegates all calls to a real object.
MockingApi() - Constructor for class spock.mock.MockingApi
 
mode() - Method in annotation type spock.lang.Retry
Retry mode, controls what is retried.

N

Narrative - Annotation Type in spock.lang
Allows to attach a natural-language description to a spec.
noExceptionThrown() - Method in class spock.lang.Specification
Specifies that no exception should be thrown, failing with a UnallowedExceptionThrownError otherwise.
notThrown(Class<? extends Throwable>) - Method in class spock.lang.Specification
Specifies that no exception of the given type should be thrown, failing with a UnallowedExceptionThrownError otherwise.

O

old(T) - Method in class spock.lang.Specification
Used in a then-block to access an expression's value at the time just before the previous where-block was entered.
OperatingSystem - Class in spock.util.environment
Provides information on the current operating system, such as its name, version, and family.
OperatingSystem.Family - Enum in spock.util.environment
An operating system family.
optimizeRunOrder - Variable in class spock.config.RunnerConfiguration
 
OTHER - spock.util.environment.OperatingSystem.Family
An operating system other than those listed above.

P

PendingFeature - Annotation Type in spock.lang
Indicates that the feature is not fully implemented yet and should not be reported as error.
PollingConditions - Class in spock.util.concurrent
Repeatedly evaluates one or more conditions until they are satisfied or a timeout has elapsed.
PollingConditions() - Constructor for class spock.util.concurrent.PollingConditions
 

Q

quiet() - Method in annotation type spock.lang.AutoCleanup
 

R

reason() - Method in annotation type spock.lang.FailsWith
The reason for the failure.
reason() - Method in annotation type spock.lang.PendingFeature
The reason why this feature is pending
Requires - Annotation Type in spock.lang
Ignores the annotated spec or feature unless the given condition holds.
RestoreSystemProperties - Annotation Type in spock.util.environment
Saves system properties before the annotated feature method (including any setup and cleanup methods) gets run, and restores them afterwards.
Retry - Annotation Type in spock.lang
Retries the given feature if an exception occurs during execution.
Retry.Mode - Enum in spock.lang
 
RunnerConfiguration - Class in spock.config
Configuration settings for the spec runner.
RunnerConfiguration() - Constructor for class spock.config.RunnerConfiguration
 

S

See - Annotation Type in spock.lang
One or more references to external information related to a specification or feature.
set(T) - Method in class spock.util.concurrent.BlockingVariable
Sets a value for this variable.
setDelay(double) - Method in class spock.util.concurrent.PollingConditions
Sets the delay (in seconds) between successive evaluations of the conditions.
setFactor(double) - Method in class spock.util.concurrent.PollingConditions
Sets the factor by which the delay grows (or shrinks) after each evaluation of the conditions.
setInitialDelay(double) - Method in class spock.util.concurrent.PollingConditions
Sets the initial delay (in seconds) before first evaluating the conditions.
setTimeout(double) - Method in class spock.util.concurrent.PollingConditions
Sets the timeout (in seconds) until which the conditions have to be satisfied.
SETUP_FEATURE_CLEANUP - spock.lang.Retry.Mode
Retry the the feature together with the setup and cleanup methods.
Shared - Annotation Type in spock.lang
Indicates that a field is shared among all feature methods in a specification.
SOLARIS - spock.util.environment.OperatingSystem.Family
A Solaris operating system.
Specification - Class in spock.lang
Base class for Spock specifications.
Specification() - Constructor for class spock.lang.Specification
 
spock.config - package spock.config
Classes modeling Spock's configuration options.
spock.guice - package spock.guice
Integration with Guice 2/3.
spock.lang - package spock.lang
The core specification language.
spock.mock - package spock.mock
 
spock.unitils - package spock.unitils
Integration with Unitils.
spock.util - package spock.util
 
spock.util.concurrent - package spock.util.concurrent
Utilities for testing concurrent code.
spock.util.environment - package spock.util.environment
Utilities for dealing with the test environment.
spock.util.matcher - package spock.util.matcher
Utilities for using (Hamcrest) matchers.
spock.util.mop - package spock.util.mop
Utilities related to Groovy meta programming.
Spy() - Method in class spock.mock.MockingApi
Creates a spy whose type and name are inferred from the left-hand side of the enclosing variable assignment.
Spy(Closure) - Method in class spock.mock.MockingApi
Creates a spy with the specified interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
Spy(Class<T>) - Method in class spock.mock.DetachedMockFactory
Creates a spy with the specified type.
Spy(Class<T>) - Method in interface spock.mock.MockFactory
Creates a spy with the specified type.
Spy(Class<T>) - Method in class spock.mock.MockingApi
Creates a spy with the specified type.
Spy(Class<T>, Closure) - Method in class spock.mock.MockingApi
Creates a spy with the specified type and interactions.
Spy(Map<String, Object>) - Method in class spock.mock.MockingApi
Creates a spy with the specified options whose type and name are inferred from the left-hand side of the enclosing variable assignment.
Spy(Map<String, Object>, Closure) - Method in class spock.mock.MockingApi
Creates a spy with the specified options and interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
Spy(Map<String, Object>, Class<T>) - Method in class spock.mock.DetachedMockFactory
Creates a spy with the specified options and type.
Spy(Map<String, Object>, Class<T>) - Method in interface spock.mock.MockFactory
Creates a spy with the specified options and type.
Spy(Map<String, Object>, Class<T>) - Method in class spock.mock.MockingApi
Creates a spy with the specified options and type.
Spy(Map<String, Object>, Class<T>, Closure) - Method in class spock.mock.MockingApi
Creates a spy with the specified options, type, and interactions.
Spy(T) - Method in class spock.mock.DetachedMockFactory
 
Spy(T) - Method in interface spock.mock.MockFactory
Creates a spy wrapping a provided instance.
Spy(T) - Method in class spock.mock.MockingApi
Creates a spy wrapping a provided instance.
Stepwise - Annotation Type in spock.lang
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.
Stub() - Method in class spock.mock.MockingApi
Creates a stub whose type and name are inferred from the left-hand side of the enclosing variable assignment.
Stub(Closure) - Method in class spock.mock.MockingApi
Creates a stub with the specified interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
Stub(Class<T>) - Method in class spock.mock.DetachedMockFactory
Creates a stub with the specified type.
Stub(Class<T>) - Method in interface spock.mock.MockFactory
Creates a stub with the specified type.
Stub(Class<T>) - Method in class spock.mock.MockingApi
Creates a stub with the specified type.
Stub(Class<T>, Closure) - Method in class spock.mock.MockingApi
Creates a stub with the specified type and interactions.
Stub(Map<String, Object>) - Method in class spock.mock.MockingApi
Creates a stub with the specified options whose type and name are inferred from the left-hand side of the enclosing variable assignment.
Stub(Map<String, Object>, Closure) - Method in class spock.mock.MockingApi
Creates a stub with the specified options and interactions whose type and name are inferred from the left-hand side of the enclosing assignment.
Stub(Map<String, Object>, Class<T>) - Method in class spock.mock.DetachedMockFactory
Creates a stub with the specified options and type.
Stub(Map<String, Object>, Class<T>) - Method in interface spock.mock.MockFactory
Creates a stub with the specified options and type.
Stub(Map<String, Object>, Class<T>) - Method in class spock.mock.MockingApi
Creates a stub with the specified options and type.
Stub(Map<String, Object>, Class<T>, Closure) - Method in class spock.mock.MockingApi
Creates a stub with the specified options, type, and interactions.
Subject - Annotation Type in spock.lang
Indicates which objects/classes are the subjects of a specification.

T

that(T, Matcher<? super T>) - Static method in class spock.util.matcher.HamcrestSupport
Used to match a value against a (Hamcrest) matcher.
thrown() - Method in class spock.lang.Specification
Specifies that the preceding when block should throw an exception.
thrown(Class<T>) - Method in class spock.lang.Specification
Specifies that the preceding when block should throw an exception of the given type.
Timeout - Annotation Type in spock.lang
Indicates that the execution of a method should time out after the given duration has elapsed.
Title - Annotation Type in spock.lang
Allows to attach a natural-language name to a spec.

U

unit() - Method in annotation type spock.lang.Timeout
Returns the duration's time unit.
UnitilsSupport - Annotation Type in spock.unitils
Activates Unitils support for a specification.
Unroll - Annotation Type in spock.lang
Indicates that iterations of a data-driven feature should be made visible as separate features to the outside world (IDEs, reports, etc.).
Use - Annotation Type in spock.util.mop
Activates one or more Groovy categories while the annotated spec method or class executes.
UseModules - Annotation Type in spock.guice
Activates Guice integration for a specification.

V

value() - Method in annotation type spock.config.ConfigurationObject
 
value() - Method in annotation type spock.guice.UseModules
 
value() - Method in annotation type spock.lang.AutoCleanup
 
value() - Method in annotation type spock.lang.FailsWith
The expected exception type.
value() - Method in annotation type spock.lang.Ignore
The reason for ignoring this element.
value() - Method in annotation type spock.lang.IgnoreIf
 
value() - Method in annotation type spock.lang.Issue
The IDs of the issues that the annotated element relates to.
value() - Method in annotation type spock.lang.Narrative
 
value() - Method in annotation type spock.lang.Requires
 
value() - Method in annotation type spock.lang.See
References to external information related to a specification or feature.
value() - Method in annotation type spock.lang.Subject
The classes which are the subjects of the specification.
value() - Method in annotation type spock.lang.Timeout
Returns the duration after which the execution of the annotated feature or fixture method times out.
value() - Method in annotation type spock.lang.Title
 
value() - Method in annotation type spock.lang.Unroll
 
value() - Method in annotation type spock.util.mop.ConfineMetaClassChanges
The classes whose meta class changes are to be confined.
value() - Method in annotation type spock.util.mop.Use
 
valueOf(String) - Static method in enum spock.lang.Retry.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum spock.util.environment.OperatingSystem.Family
Returns the enum constant of this type with the specified name.
values() - Static method in enum spock.lang.Retry.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum spock.util.environment.OperatingSystem.Family
Returns an array containing the constants of this enum type, in the order they are declared.
verifyAll(Closure) - Method in class spock.lang.Specification
All assertions in this block are executed and the errors recorded and reported at the end.
verifyAll(Object, Class<U>, Closure) - Method in class spock.lang.Specification
verifyAll(U, Closure<?>) - Method in class spock.lang.Specification
visitFieldAnnotation(AutoAttach, FieldInfo) - Method in class spock.mock.AutoAttachExtension
 

W

WINDOWS - spock.util.environment.OperatingSystem.Family
A Windows operating system.
with(Object, Class<U>, Closure) - Method in class spock.lang.Specification
Same as Specification.with(Object, groovy.lang.Closure), except that it also states that the specified target has the specified type, throwing a SpockAssertionError otherwise.
with(U, Closure<?>) - Method in class spock.lang.Specification
Sets the specified object as the implicit target of the top-level conditions and/or interactions contained in the specified code block, thereby avoiding the need to repeat the same expression multiple times.
within(double, Closure<?>) - Method in class spock.util.concurrent.PollingConditions
Repeatedly evaluates the specified conditions until they are satisfied or the specified timeout (in seconds) has elapsed.

_

_ - Static variable in class spock.lang.Specification
The wildcard symbol.
A B C D E F G H I J L M N O P Q R S T U V W _ 
Skip navigation links