Asiri,
The integration tests are really looking good. This is great to have
tests like that to see the webdav server working.
Yes I think you should replicate them on the different view.
The more tricky part is going to replicate the behavior of clients that
are doing some complex things, like trying to save temporary files
(.wiki.txt.swp like vi does)
Make sure you verify that your tests are really testing by introducing
an error in your webdav code.
Once you have decent testing, the most important will be to have the
Windows and Mac webdav client behave properly especially with standard
applications (Notepad, MS Word on Windows, TextEdit, OpenOffice on Mac)
Ludovic
Asiri Rathnayake wrote:
Hi Ludovic,
I have setup the pom file to allow integration tests. Also, plain old
junit tests can be added if required (**/*TTest.java : unit-tests,
**/*ITest.java : integration-tests). Also, I have added integration
tests for basic operations on spaces and pages. I was thinking if i
should replicate these tests across different views ? WDYT ?
To run the tests, simply execute `mvn clean integration-test`
Thanks.
- Asiri
--
Ludovic Dubost
Blog:
http://blog.ludovic.org/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost