Module org.junit.jupiter.params
Annotation Interface 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:
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends ArgumentsProvider>
The type ofArgumentsProvider
to be used.
-
Element Details
-
value
Class<? extends ArgumentsProvider> valueThe type ofArgumentsProvider
to be used.
-