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