Annotation Type ArgumentsSource



  • @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.

    Since:
    5.0
    See Also:
    ArgumentsProvider