Package spock.lang
Annotation Type VerifyAll
Indicates that the code blocks of the annotated methods
may contain conditions, allowing to omit the
assert
keyword.
As in expect-blocks and then-blocks, variable declarations
and void method invocations will not be considered conditions.
The method can be defined inside the Specification
class or in a separate Groovy class.
The method must have a void
return type.
In contrast to Verify
, all conditions will be evaluated before failing the test.- Since:
- 2.4