Package spock.lang
Annotation Type Rollup
-
@Beta @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface Rollup
Indicates that iterations of a data-driven feature should not be made visible as separate features to the outside world (IDEs, reports, etc.) but as one atomic test. TheRollup
annotation can also be put on a spec class. This has the same effect as putting it on every data-driven feature method that is not already annotated withRollup
.Having
@Rollup
on a super spec does not influence the features of sub specs, that is@Rollup
is not inheritable.- Since:
- 2.0