Hi developers,
Just to remind everyone that we have to write unit tests when we
commit stuff in svn...
As an example I've written tests using JMock yesterday for the
XWikiMessageTool class. The tests are in XWikiMessageToolTest class
(in core/).
Please have a look, you'll see it's quite interesting and easy to
write tests in isolation from the XWiki environment. The big advnatages:
* these tests do not require an environment to run
* they run fast
Of course they are NOT replacing functional tests which we also need
to write. I'm currently preparing a set up for running Selenium
functional tests for our code. Stay tuned on that.
Thanks
-Vincent
___________________________________________________________________________
Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface
r�volutionnaire.
http://fr.mail.yahoo.com