Package spock.lang

Annotation Type Isolated

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
See Also:
Execution, ResourceLock
  • Optional Element Summary

    Optional Elements
    Modifier and Type Optional Element Description
    String value
    The reason for isolating this specification.
  • Element Details

    • value

      String value
      The reason for isolating this specification.

      Sometimes it is not readily apparent why a Spec was isolated, so you can add a reason here.