Hi Vincent,

Now I can think of some functional tests to prove it works:
>
> * Verify that a macro can be written and that when calling
>  $context.macro.params.myparam you get the default value if not specified
> * Verify that in the wysiwyg the default value is correctly displayed when
> a default value is specified
>
> wdyt? would these make sense?
>

+1

First usecase didn't work for me while the second one worked fine (manual
testing). However, I think the first usecase can be dealt in a unit test
(not sure). I will ask anamaria to add appropriate tests (I'm bit occupied),
or else i will have to do it bit later.

Thanks.

- Asiri


>
> Thanks
> -Vincent
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to