@Target({ANNOTATION_TYPE,PARAMETER}) @Retention(RUNTIME) @Documented @API(status=EXPERIMENTAL, since="5.0") public @interface ConvertWith
@ConvertWith
is an annotation that allows one to specify an explicit
ArgumentConverter
.
This annotation may be applied to method parameters of
@ParameterizedTest
methods
which need to have their Arguments
converted before consuming them.
ParameterizedTest
,
ArgumentConverter
Modifier and Type | Required Element | Description |
---|---|---|
java.lang.Class<? extends ArgumentConverter> |
value |
The type of
ArgumentConverter to use. |
java.lang.Class<? extends ArgumentConverter> value
ArgumentConverter
to use.