Module org.junit.jupiter.params
Annotation Type ConvertWith
-
@Target({ANNOTATION_TYPE,PARAMETER}) @Retention(RUNTIME) @Documented @API(status=STABLE, since="5.7") public @interface ConvertWith
@ConvertWith
is an annotation that allows one to specify an explicitArgumentConverter
.This annotation may be applied to parameters of
@ParameterizedTest
methods which need to have theirArguments
converted before consuming them.- Since:
- 5.0
- See Also:
ParameterizedTest
,ArgumentConverter
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends ArgumentConverter>
value
The type ofArgumentConverter
to use.
-
-
-
Element Detail
-
value
Class<? extends ArgumentConverter> value
The type ofArgumentConverter
to use.
-
-