@Beta @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) @Repeatable(value=ResourceLock.Container.class) public @interface ResourceLock
setupSpec
/cleanupSpec
.
This will also cause all features to run on the same thread
as the Specification.Modifier and Type | Required Element and Description |
---|---|
String |
value
The key identifying the resource.
|
Modifier and Type | Optional Element and Description |
---|---|
org.spockframework.runtime.model.parallel.ResourceAccessMode |
mode
Controls the access mode of the resource.
|
public abstract String value
for a list of standard resources