Package org.junit.jupiter.params.provider
ArgumentsProvider
implementations and their corresponding
ArgumentsSource
annotations.-
Interface Summary Interface Description Arguments Argumentsis an abstraction that provides access to an array of objects to be used for invoking a@ParameterizedTestmethod.ArgumentsProvider AnArgumentsProvideris responsible for providing a stream of arguments to be passed to a@ParameterizedTestmethod. -
Enum Summary Enum Description EnumSource.Mode Enumeration of modes for selecting enum constants by name.NullEnum Dummy enum class used as default value for optional attributes of annotations. -
Exception Summary Exception Description CsvParsingException Thrown if an error is encountered while parsing CSV input. -
Annotation Types Summary Annotation Type Description ArgumentsSource @ArgumentsSourceis a repeatable annotation that is used to register argument providers for the annotated test method.ArgumentsSources @ArgumentsSourcesis a simple container for one or moreArgumentsSourceannotations.CsvFileSource @CsvFileSourceis anArgumentsSourcewhich is used to load comma-separated value (CSV) files from one or more classpathresources.CsvSource @CsvSourceis anArgumentsSourcewhich reads comma-separated values (CSV) from one or more supplied CSV lines.EmptySource @EmptySourceis anArgumentsSourcewhich provides a single empty argument to the annotated@ParameterizedTestmethod.EnumSource MethodSource @MethodSourceis anArgumentsSourcewhich provides access to values returned from factory methods of the class in which this annotation is declared or from static factory methods in external classes referenced by fully qualified method name.NullAndEmptySource @NullAndEmptySourceis a composed annotation that combines the functionality of@NullSourceand@EmptySource.NullSource @NullSourceis anArgumentsSourcewhich provides a singlenullargument to the annotated@ParameterizedTestmethod.ValueSource @ValueSourceis anArgumentsSourcewhich provides access to an array of literal values.