Annotation to be used in Junit tests and Spock specifications. Tests annotated with this annotation will get a fresh TestRuntime instance. If the annotation is added to class level, it will get used for all tests in the class. The usage of this annotation is required for enabling doWithSpring/doWithConfig callbacks that work with the test instance.
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |