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 explicit
ArgumentConverter
.
This annotation may be applied to parameters of
@ParameterizedTest
methods
which need to have their Arguments
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 Details
-
value
Class<? extends ArgumentConverter> valueThe type ofArgumentConverter
to use.
-