Uses of Package
spock.lang
Packages that use spock.lang
Package
Description
Spock's built-in mocking framework.
The core specification language.
-
Classes in spock.lang used by org.spockframework.mock
-
Classes in spock.lang used by org.spockframework.mock.runtime
-
Classes in spock.lang used by org.spockframework.runtime
-
Classes in spock.lang used by org.spockframework.runtime.extension.builtinClassDescriptionAutomatically cleans up the object stored in the annotated field or property at the end of its life time.Indicates that a feature method is expected to fail with the given exception.Indicates that a specification or feature method should not be run.Ignores the annotated spec or feature if the given condition holds.Indicates that all feature methods except the ones carrying this annotation should be ignored.Indicates that a feature method or specification relates to one or more issues in an external issue tracking system.Allows to attach a natural-language description to a spec.Ignores the annotated spec or feature unless the given condition holds.One or more references to external information related to a specification or feature.Indicates that the execution of a method should time out after the given duration has elapsed.Allows to attach a natural-language name to a spec.Indicates that iterations of a data-driven feature should be made visible as separate features to the outside world (IDEs, reports, etc.).
-
Classes in spock.lang used by spock.langClassDescriptionSpock'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.