---------- Forwarded message ---------- From: Asiri Rathnayake <[EMAIL PROTECTED]> Date: Sat, Jul 26, 2008 at 11:48 AM Subject: Re: [GSOC][WEBDAV] Status (Integration Testing) To: Ludovic Dubost <[EMAIL PROTECTED]>
Hi Ludovic, On Sat, Jul 26, 2008 at 4:10 AM, Ludovic Dubost <[EMAIL PROTECTED]> wrote: > > 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) > Yes, this is going to be challenging. But if the editor is aware of the fact that it is handling a dav file, it might resolve to some other technique to store swap files, but we cannot depend on that, true. > > Make sure you verify that your tests are really testing by introducing an > error in your webdav code. > Well, i encountered few bugs in the code while writing the tests and fixed them along .. :P > > 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) Yeah, as i mentioned in one of my previous mails, some editors (ex: notepad) doesn't even know what is DAV. I mean it complains that it is an invalid protocol or something, there is not a single request listed on the server. I doubt whether we can fix such issues. Anyway, i will look into it bit thoroughly. Thanks. - Asiri > > > 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 > > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

