[Zope-dev] RFC: ZTK custom publications, zope.app.publication, and zope.traversing

Brian Sutherland brian at vanguardistas.net
Mon Jun 22 12:15:23 EDT 2009


On Mon, Jun 22, 2009 at 09:01:16AM -0400, Jim Fulton wrote:
>>> - Create zope.publication from zope.app.publcatiobn
>>> - use webtest rather than zope.app.testing.
>>
>> What's webtest?
>
> http://pythonpaste.org/webtest/
>
> It's sort of like zope.app.testing.functional or zope.testbrowser but  
> for WSGI apps.  It *just* handles the publishing aspects of testing.   
> Tests can then manage their own application setup.  I think this will  
> make many tests simpler and cleaner as they can set up just enough of an 
> application as they need for their tests.

Ah, very interesting, so far I've been using wsgi-intercept which is
very similar and has been working well for me.

    http://code.google.com/p/wsgi-intercept/

Though webtest, re-using the WebOb request does look interesting. 


-- 
Brian Sutherland


More information about the Zope-Dev mailing list