@Target(value={ANNOTATION_TYPE,PARAMETER}) @Retention(value=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 and Description |
---|---|
Class<? extends ArgumentConverter> |
value
The type of
ArgumentConverter to use. |
public abstract Class<? extends ArgumentConverter> value
ArgumentConverter
to use.