Module org.junitpioneer
Package org.junitpioneer.jupiter.cartesian
This package contains the
CartesianTest extension.
This includes all associated classes, e.g.:
- Argument providers,
- Display name formatter,
- Test context,
- Parameter resolver
All future work on this extension should be in this package.-
Interface Summary Interface Description CartesianArgumentsProvider This is a marker interface.CartesianMethodArgumentsProvider Provides arguments for all parameters of aCartesianTestmethod.CartesianParameterArgumentsProvider<T> Provides arguments for a single parameter of aCartesianTestmethod.CartesianTest.Enum.Mode.Validator -
Class Summary Class Description ArgumentSets Class for defining sets to aCartesianTestexecution with arguments for each parameter in the order in which they appear in the test method.CartesianEnumArgumentsProvider<E extends java.lang.Enum<E>> This is basically an enhanced copy of Jupiter'sEnumArgumentsProvider, except it does NOT support@ParameterizedTestand implementsCartesianParameterArgumentsProviderfor use with@CartesianTest.CartesianFactoryArgumentsProvider CartesianProductResolver CartesianTestExtension CartesianTestInvocationContext CartesianValueArgumentsProvider This is a slightly modified copy of Jupiter'sValueArgumentsProvider, except it does NOT support@ParameterizedTestand implementsCartesianArgumentsProviderfor use with@CartesianTest. -
Enum Summary Enum Description CartesianEnumArgumentsProvider.NullEnum CartesianTest.Enum.Mode Enumeration of modes for selecting enum constants by name. -
Annotation Types Summary Annotation Type Description CartesianArgumentsSource @CartesianArgumentsSourceis an annotation that is used to register cartesian argument providers for the annotated test parameter in case ofCartesianParameterArgumentsProvideror for all the test parameters in case ofCartesianMethodArgumentsProvider.CartesianTest @CartesianTestis a JUnit Jupiter extension that marks a test to be executed with all possible input combinations.CartesianTest.Enum Parameter annotation to be used withCartesianTestfor providing enum values.CartesianTest.MethodFactory Points to a method to provide parameter values for aCartesianTest.CartesianTest.Values Parameter annotation to be used withCartesianTestfor providing simple values.