Package org.junit.jupiter.params.provider
ArgumentsProvider
implementations and their
corresponding ArgumentsSource
annotations.-
Interface Summary Interface Description Arguments Arguments
is an abstraction that provides access to an array of objects to be used for invoking a@ParameterizedTest
method.ArgumentsProvider AnArgumentsProvider
is responsible for providing a stream of arguments to be passed to a@ParameterizedTest
method. -
Enum Summary Enum Description EnumSource.Mode Enumeration of modes for selecting enum constants by name. -
Annotation Types Summary Annotation Type Description ArgumentsSource @ArgumentsSource
is a repeatable annotation that is used to register argument providers for the annotated test method.ArgumentsSources @ArgumentsSources
is a simple container for one or moreArgumentsSource
annotations.CsvFileSource @CsvFileSource
is anArgumentsSource
which is used to load comma-separated value (CSV) files from one or more classpath resources.CsvSource @CsvSource
is anArgumentsSource
which reads comma-separated values (CSV) from itsCsvSource.value()
attribute.EnumSource MethodSource @MethodSource
is anArgumentsSource
which provides access to values returned by factory methods of the class in which this annotation is declared.ValueSource @ValueSource
is anArgumentsSource
which provides access to an array of literal values.