Top Description Methods
org.junit.jupiter.params.aggregator

public @Interface AggregateWith

extends Annotation
Annotations
@Retention:RUNTIME
@Target:ANNOTATION_TYPE, PARAMETER, FIELD
@Documented
@API
status:STABLE
since:5.7
Static Imports
org.apiguardian.api.API.Status.STABLE

@AggregateWith is an annotation that allows one to specify an ArgumentsAggregator.

This annotation may be applied to parameters of a @ParameterizedClass constructor or its @Parameter-annotated fields, or to parameters of a @ParameterizedTest method in order for an aggregated value to be resolved for the annotated parameter when the parameterized class or 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.

Since
5.2
See Also
ArgumentsAggregator, org.junit.jupiter.params.ParameterizedTest

Method Summary

Modifier and TypeMethod and Description
public Class<? extends ArgumentsAggregator>
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Class<? extends ArgumentsAggregator> value()