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. TheRollupannotation 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
@Rollupon a super spec does not influence the features of sub specs, that is@Rollupis not inheritable.- Since:
- 2.0