-
@Target(PARAMETER) @Retention(RUNTIME) @AggregateWith(SimpleAggregator.class) public @interface Aggregate
@Aggregateis a parameter annotation, used for simple argument aggregation.The supplied values are expected to be able to be aggregated into a single argument, which is in turn supplied to the
@ParameterizedTestmethod.For more details (including its limitations) and examples, see the documentation on the simple arguments aggregator.
This annotation is not compatible with
CartesianTestsince this expects a single parameter as opposed toCartesianTestrequiring multiple parameters.- Since:
- 2.1
- See Also:
ArgumentsAggregator