@Retention(value=RUNTIME) @Target(value={PARAMETER,ANNOTATION_TYPE}) @Documented @API(status=EXPERIMENTAL, since="5.2") public @interface AggregateWith
@AggregateWith
is an annotation that allows one to specify an
ArgumentsAggregator
.
This annotation may be applied to a parameter of a
@ParameterizedTest
method
in order for an aggregated value to be resolved for the annotated parameter
when the test method is invoked.
@AggregateWith
may also be used as a meta-annotation in order to
create a custom composed annotation that inherits the semantics
of @AggregateWith
.
ArgumentsAggregator
,
ParameterizedTest
Modifier and Type | Required Element and Description |
---|---|
Class<? extends ArgumentsAggregator> |
value |
public abstract Class<? extends ArgumentsAggregator> value
Copyright © 2018. All rights reserved.