Package spock.lang
Annotation Type Isolated
@Beta @Retention(RUNTIME) @Target(TYPE) public @interface Isolated
Allows the isolated execution of a Specification.
No other specification will execute at the same time.
This will also cause all features to run on the same thread
as the Specification.
If you need more fine grained control take a look at
ResourceLock
- Since:
- 2.0
- See Also:
Execution
,ResourceLock
-
Optional Element Summary
-
Element Details
-
value
String valueThe reason for isolating this specification.Sometimes it is not readily apparent why a Spec was isolated, so you can add a reason here.
- Default:
- ""
-