Package org.junit.jupiter.params.provider
@NullMarked
package org.junit.jupiter.params.provider
ArgumentsProvider
implementations and their corresponding
ArgumentsSource
annotations.-
ClassDescriptionAnnotationBasedArgumentsProvider<A extends Annotation>
AnnotationBasedArgumentsProvideris an abstract base class forArgumentsProviderimplementations that also need to consume an annotation in order to provide the arguments.Argumentsis an abstraction that provides access to an array of objects to be used for invoking a@ParameterizedTestmethod.AnArgumentsProvideris responsible for providing a stream of arguments to be passed to a@ParameterizedClassor@ParameterizedTest.@ArgumentsSourceis a repeatable annotation that is used to register arguments providers for the annotated class or method.@ArgumentsSourcesis a simple container for one or moreArgumentsSourceannotations.@CsvFileSourceis a repeatableArgumentsSourcewhich is used to load comma-separated value (CSV) files from one or more classpathCsvFileSource.resources()orCsvFileSource.files().@CsvFileSourcesis a simple container for one or moreCsvFileSourceannotations.Thrown if an error is encountered while parsing CSV input.@CsvSourceis a repeatableArgumentsSourcewhich reads comma-separated values (CSV) from one or more CSV records supplied via theCsvSource.value()attribute orCsvSource.textBlock()attribute.@CsvSourcesis a simple container for one or moreCsvSourceannotations.@EmptySourceis anArgumentsSourcewhich provides a single empty argument to the annotated@ParameterizedClassor@ParameterizedTest.Enumeration of modes for selecting enum constants by name.@EnumSourcesis a simple container for one or moreEnumSourceannotations.@FieldSourceis a repeatableArgumentsSourcewhich provides access to values of fields of the class in which this annotation is declared or from static fields in external classes referenced by fully qualified field name.@FieldSourcesis a simple container for one or moreFieldSourceannotations.@MethodSourceis a repeatableArgumentsSourcewhich 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.@MethodSourcesis a simple container for one or moreMethodSourceannotations.@NullAndEmptySourceis a composed annotation that combines the functionality of@NullSourceand@EmptySource.Dummy enum class used as default value for optional attributes of annotations.@NullSourceis anArgumentsSourcewhich provides a singlenullargument to the annotated@ParameterizedClassor@ParameterizedTest.@ValueSourcesis a simple container for one or moreValueSourceannotations.