zope.testbrowser and WebTest (round 2)
Brian Sutherland <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <[email protected]> |
I've finally finished refactoring my WebTest/testbrowser branches,
basically doing this:
- Integrate with WebTest. zope.testbrowser.webtest.Browser is a new
Browser implementation that uses webtest.TestApp to drive a WSGI
application. This allows simple and direct testing of WSGI applications.
- Re-write the test application as a pure WSGI application using WebOb.
Run the existing tests using the WebTest based Browser
- Move zope.app.testing based Browser into zope.app.testing (leaving
backwards compatibility imports in-place).
This refactoring removes these test dependencies from zope.testbroswer:
zope.app.appsetup
zope.app.publication
zope.app.testing >= 3.8.1
zope.browserpage
zope.browserresource
zope.component
zope.container
zope.principalregistry
zope.ptresource
zope.publisher
zope.security
zope.site
zope.traversing
And adds these:
zope.pagetemplate
WebTest
zope.app.testing gains this dependency:
zope.testbrowser >= 4.0.0dev
This is a very big change, so I would appreciate anyone who would take a
look at these branches before I merge:
svn+ssh://svn.zope.org/repos/main/zope.testbrowser/branches/jinty-webtest3
svn+ssh://svn.zope.org/repos/main/zope.app.testing/branches/jinty-testbrowser
I plan to merge the branches in the next few weeks if there are no
objections.
--
Brian Sutherland
_______________________________________________
Zope-Dev maillist - [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )