@java.lang.Deprecated @groovy.transform.AnnotationCollector(value: [BeforeEach, RunOnce]) @interface OnceBefore
This annotation may be applied to fixture methods in a Spock Spec that should be run once and only once before any test methods are run. Methods marked with this interface will automatically be marked with
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |