@Target(value={ANNOTATION_TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @API(value=Experimental) @ArgumentsSource(value=org.junit.jupiter.params.provider.MethodArgumentsProvider.class) public @interface MethodSource
@MethodSource
is a special ArgumentsSource
which provides
access to the values returned by static methods of the class in which the
annotation is used.
These values are then provided as arguments to @ParameterizedTest
methods using a @MethodArgumentsProvider
.
ArgumentsSource
,
MethodArgumentsProvider
,
ParameterizedTest
public abstract String[] names