Hi JV,

We need to add functional tests for the Watchlist feature. Do you  
think you could make sure to add tests for it?

I think we have 2 possible approaches:

1) unit testing, which means we catch the email before it's sent and  
verify that it contains the correct things.
2) functional testing. This can be done very easily using Selenium and  
using a tool like Dumbster inside the Selenium test. For an example of  
using Dumbster, see
http://quintanasoft.com/dumbster/#Examples

Note that Dumbster is already in the central maven repo so it should  
be dead easy to use.

Another possible tool to use is James (http://james.apache.org/)

I'd recommend doing 2).

WDYT?

Thanks
-Vincent

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

Reply via email to