r1 - 10 Apr 2006 - 17:29:43 - MikealRogersYou are here: OSAF >  Journal Web  >  ContributorNotes > MikealRogersNotes > MikealRogers20060410
I've been busy writing cosmo test cases and improving the test tools.

What started as HTTPTest has become TestObject?, HTTPTest, and DAVTest.

The non-HTTP specific functionality has been broken in to TestObject?, so that I can reuse it all in writing new test tools, HTTPTest just inherits from this class.

HTTPTest still contains all the HTTP specific functionality, including the response XML parsing into an elementtree object.

DAVTest was written so that I could get rid of the gigantic code blocks to verify all the {DAV: Response} elements in all my test cases that verify 207 responses. It currently contains two methods, one is a magic method that verifies the correct number of response elements and string matches inside a specified {DAV: Response} child element, usually a calendar-data element. The other searches for string matches inside a single {DAV: Response} child element.

This work is all done, and it's been significantly cleaned up, mostly in response to input from Heikki who has been looking through these checkins.

Now I'm working on an emulation of chandler0.6.1, I've captured the full conversation between Chandler and Cosmo when running the TestSharing?.py chandler automated test script and am recreating it with DAVTest.

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.