Module org.junit.jupiter.params
Annotation Interface 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:
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass
<? extends ArgumentConverter> The type ofArgumentConverter
to use.
-
Element Details
-
value
Class<? extends ArgumentConverter> valueThe type ofArgumentConverter
to use.
-