@Target({ANNOTATION_TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Repeatable(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 | Description |
|---|---|---|
java.lang.Class<? extends ArgumentsProvider> |
value |
The type of
ArgumentsProvider to be used. |
java.lang.Class<? extends ArgumentsProvider> value
ArgumentsProvider to be used.