@Target(value={ANNOTATION_TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Repeatable(value=ArgumentsSources.class) @API(status=EXPERIMENTAL, since="5.0") public @interface ArgumentsSource
@ArgumentsSource
is a repeatable annotation
that is used to register argument providers
for the annotated test method.
@ArgumentsSource
may also be used as a meta-annotation in order to
create a custom composed annotation that inherits the semantics
of @ArgumentsSource
.
ArgumentsProvider
Modifier and Type | Required Element and Description |
---|---|
Class<? extends ArgumentsProvider> |
value
The type of
ArgumentsProvider to be used. |
public abstract Class<? extends ArgumentsProvider> value
ArgumentsProvider
to be used.