Re: [Zope-dev] zope.testbrowser and WebTest (round 2)
* Brian Sutherland [2011-01-30 16:04]: > 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 is a very big change, so I would appreciate anyone who would take a > look at these branches before I merge: Michael Howitz and I recently polished the integration of zope.testbrowser and wsgi_intercept to accomplish pretty much the same things you mentioned. (I'm aware that you two exchanged some emails about it, but don't know any details). So I'm curious: What are the differences bewteen WebTest and wsgi_intercept? Is one preferable to the other? I'd very much like there to be *one* way of doing WSGI with the testbrowser, and at first blush I don't care whether that's WebTest or wsgi_intercept or whathaveyou, as long as it fulfills its purpose. I'll gladly review your branch, but I'd like to know the motivation behind it. Wolfgang ___ Zope-Dev maillist - Zope-Dev@zope.org 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 )
[Zope-dev] zope.testbrowser and WebTest (round 2)
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 - Zope-Dev@zope.org 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 )
[Zope-dev] Zope Tests: 93 OK, 11 Failed, 2 Unknown
Summary of messages to the zope-tests list. Period Sat Jan 29 12:00:00 2011 UTC to Sun Jan 30 12:00:00 2011 UTC. There were 106 messages: 8 from Zope Tests, 4 from buildbot at pov.lt, 21 from buildbot at winbot.zope.org, 11 from ccomb at free.fr, 5 from ct at gocept.com, 57 from jdriessen at thehealthagency.com. Test failures - Subject: FAILED : Total languishing bugs for zopeapp: 2 From: ct at gocept.com Date: Sat Jan 29 20:30:16 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030435.html Subject: FAILED : Total languishing bugs for zopetoolkit: 195 From: ct at gocept.com Date: Sat Jan 29 20:36:54 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030436.html Subject: FAILED : Total languishing bugs for zope: 48 From: ct at gocept.com Date: Sat Jan 29 20:40:39 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030437.html Subject: FAILED: Repository policy check found errors in 318 projects From: ct at gocept.com Date: Sat Jan 29 21:12:30 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030440.html Subject: FAILED : Zope 3.4 Known Good Set / py2.4-64bit-linux From: buildbot at pov.lt Date: Sat Jan 29 21:12:44 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030441.html Subject: FAILED : ZTK 1.0dev / Python2.4.6 Linux 64bit From: ccomb at free.fr Date: Sat Jan 29 21:30:08 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030442.html Subject: FAILED : ZTK 1.0dev / Python2.6.5 Linux 64bit From: ccomb at free.fr Date: Sat Jan 29 21:30:09 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030443.html Subject: FAILED : ZTK 1.0dev / Python2.5.5 Linux 64bit From: ccomb at free.fr Date: Sat Jan 29 21:30:12 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030444.html Subject: FAILED : Zope 3.4 Known Good Set / py2.5-64bit-linux From: buildbot at pov.lt Date: Sat Jan 29 22:13:44 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030450.html Subject: FAILED : winbot / z3c.rml_py_265_32 From: buildbot at winbot.zope.org Date: Sat Jan 29 22:47:44 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030451.html Subject: FAILED : winbot / z3c.coverage_py_265_32 From: buildbot at winbot.zope.org Date: Sat Jan 29 23:47:02 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030463.html Unknown --- Subject: UNKNOWN : Zope Buildbot / zopetoolkit-1.0_win-py2.4 slave-win From: jdriessen at thehealthagency.com Date: Sun Jan 30 00:00:17 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030468.html Subject: UNKNOWN : Zope Buildbot / zopetoolkit-1.0_win-py2.6 slave-win From: jdriessen at thehealthagency.com Date: Sun Jan 30 00:13:16 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030470.html Tests passed OK --- Subject: OK : winbot / ztk_dev py_254_win32 From: buildbot at winbot.zope.org Date: Sat Jan 29 15:18:44 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030403.html Subject: OK : winbot / ztk_dev py_265_win32 From: buildbot at winbot.zope.org Date: Sat Jan 29 15:27:14 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030404.html Subject: OK : winbot / ztk_dev py_265_win64 From: buildbot at winbot.zope.org Date: Sat Jan 29 15:36:28 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030405.html Subject: OK : Zope Buildbot / zope2.12-py2.6 slave-osx From: jdriessen at thehealthagency.com Date: Sat Jan 29 15:38:40 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030406.html Subject: OK : Zope Buildbot / zope2.13-py2.6 slave-osx From: jdriessen at thehealthagency.com Date: Sat Jan 29 15:41:44 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030407.html Subject: OK : winbot / ztk_dev py_270_win32 From: buildbot at winbot.zope.org Date: Sat Jan 29 15:44:08 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030408.html Subject: OK : Zope Buildbot / zope2.13-py2.7 slave-osx From: jdriessen at thehealthagency.com Date: Sat Jan 29 15:44:35 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030409.html Subject: OK : Zope Buildbot / zope2.14-py2.6 slave-osx From: jdriessen at thehealthagency.com Date: Sat Jan 29 15:47:37 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030410.html Subject: OK : Zope Buildbot / zope2.14-py2.7 slave-osx From: jdriessen at thehealthagency.com Date: Sat Jan 29 15:50:25 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030411.html Subject: OK : winbot / ztk_dev py_270_win64 From: buildbot at winbot.zope.org Date: Sat Jan 29 15:52:29 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/030412.html Subject: OK : winbot / ztk_10 py_244_win32 From: buildbot at winbot.zope.org Date: Sat Jan 29 16:02:04 EST 2011 URL: http://mail.zo