Top Description Methods
org.junit.jupiter.params.provider

public @Interface ArgumentsSource

extends Annotation
Annotations
@Target:ANNOTATION_TYPE, METHOD, TYPE
@Retention:RUNTIME
@Documented
@Inherited
@Repeatable:ArgumentsSources
@API
status:STABLE
since:5.7
Static Imports
org.apiguardian.api.API.Status.STABLE

@ArgumentsSource is a repeatable annotation that is used to register arguments providers for the annotated class or method.

@ArgumentsSource may also be used as a meta-annotation in order to create a custom composed annotation that inherits the semantics of @ArgumentsSource.

Inheritance

This annotation is inherited to subclasses.

Since
5.0
See Also
org.junit.jupiter.params.provider.ArgumentsProvider, org.junit.jupiter.params.ParameterizedClass, org.junit.jupiter.params.ParameterizedTest

Method Summary

Modifier and TypeMethod and Description
public Class<? extends ArgumentsProvider>
value()

The type of ArgumentsProvider to be used.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Class<? extends ArgumentsProvider> value()

The type of ArgumentsProvider to be used.