Module org.junit.jupiter.params
Annotation Type ArgumentsSource
-
@Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @Documented @Repeatable(ArgumentsSources.class) @API(status=STABLE, since="5.7") 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
.- Since:
- 5.0
- See Also:
ArgumentsProvider
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends ArgumentsProvider>
value
The type ofArgumentsProvider
to be used.
-
-
-
Element Detail
-
value
Class<? extends ArgumentsProvider> value
The type ofArgumentsProvider
to be used.
-
-