Module org.junit.jupiter.params
Package org.junit.jupiter.params.provider
package org.junit.jupiter.params.provider
ArgumentsProvider
implementations and their corresponding
ArgumentsSource
annotations.-
ClassDescriptionAnnotationBasedArgumentsProvider<A extends Annotation>
AnnotationBasedArgumentsProvider
is an abstract base class forArgumentsProvider
implementations that also need to consume an annotation in order to provide the arguments.Arguments
is an abstraction that provides access to an array of objects to be used for invoking a@ParameterizedTest
method.AnArgumentsProvider
is responsible for providing a stream of arguments to be passed to a@ParameterizedTest
method.@ArgumentsSource
is a repeatable annotation that is used to register arguments providers for the annotated test method.@ArgumentsSources
is a simple container for one or moreArgumentsSource
annotations.@CsvFileSource
is a repeatableArgumentsSource
which is used to load comma-separated value (CSV) files from one or more classpathCsvFileSource.resources()
orCsvFileSource.files()
.@CsvFileSources
is a simple container for one or moreCsvFileSource
annotations.Thrown if an error is encountered while parsing CSV input.@CsvSource
is a repeatableArgumentsSource
which reads comma-separated values (CSV) from one or more CSV records supplied via theCsvSource.value()
attribute orCsvSource.textBlock()
attribute.@CsvSources
is a simple container for one or moreCsvSource
annotations.@EmptySource
is anArgumentsSource
which provides a single empty argument to the annotated@ParameterizedTest
method.Enumeration of modes for selecting enum constants by name.@EnumSources
is a simple container for one or moreEnumSource
annotations.@FieldSource
is a repeatableArgumentsSource
which 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.@FieldSources
is a simple container for one or moreFieldSource
annotations.@MethodSource
is a repeatableArgumentsSource
which 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.@MethodSources
is a simple container for one or moreMethodSource
annotations.@NullAndEmptySource
is a composed annotation that combines the functionality of@NullSource
and@EmptySource
.Dummy enum class used as default value for optional attributes of annotations.@NullSource
is anArgumentsSource
which provides a singlenull
argument to the annotated@ParameterizedTest
method.@ValueSources
is a simple container for one or moreValueSource
annotations.