Annotation Type Aggregate


@Target(PARAMETER) @Retention(RUNTIME) @AggregateWith(SimpleAggregator.class) public @interface Aggregate
@Aggregate is 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 @ParameterizedTest method.

For more details (including its limitations) and examples, see the documentation on the simple arguments aggregator.

This annotation is not compatible with CartesianTest since this expects a single parameter as opposed to CartesianTest requiring multiple parameters.

Since:
2.1
See Also:
  • ArgumentsAggregator