Uses of Annotation Interface
org.junit.jupiter.params.provider.ArgumentsSource
Package
Description
ArgumentsProvider
implementations and their corresponding
ArgumentsSource
annotations.-
Uses of ArgumentsSource in org.junit.jupiter.params.provider
Modifier and TypeClassDescription@interface
@CsvFileSource
is anArgumentsSource
which is used to load comma-separated value (CSV) files from one or more classpathCsvFileSource.resources()
orCsvFileSource.files()
.@interface
@CsvSource
is anArgumentsSource
which reads comma-separated values (CSV) from one or more CSV records supplied via theCsvSource.value()
attribute orCsvSource.textBlock()
attribute.@interface
@EmptySource
is anArgumentsSource
which provides a single empty argument to the annotated@ParameterizedTest
method.@interface
@interface
@MethodSource
is anArgumentsSource
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.@interface
@NullSource
is anArgumentsSource
which provides a singlenull
argument to the annotated@ParameterizedTest
method.@interface
@ValueSource
is anArgumentsSource
which provides access to an array of literal values.