Module org.junit.jupiter.params
Interface ArgumentsProvider
An
ArgumentsProvider
is responsible for providing a stream of arguments to be passed to a @ParameterizedTest
method.
An ArgumentsProvider
can be registered via the
@ArgumentsSource
annotation.
Implementations must provide a no-args constructor.
- Since:
- 5.0
- See Also:
-
Method Summary
-
Method Details
-
provideArguments
- Parameters:
context
- the current extension context; nevernull
- Returns:
- a stream of arguments; never
null
- Throws:
Exception
-