[Zope-dev] zope.testbrowser and WebTest (round 2)

Benji York benji at benjiyork.com
Tue Feb 1 08:51:55 EST 2011


On Tue, Feb 1, 2011 at 3:32 AM, Wolfgang Schnerring <ws at gocept.com> wrote:
> But I feel the important point about this regarding compatibility is not
> the underlying technology, but the API, i. e. that
> - zope.testbrowser.wsgi.Browser is a Testbrowser
> - zope.testbrowser.wsgi.Layer with a method make_wsgi_app is there to
> facilitate the test setup.
>
> I think as long as we preserve this API (which seems sound to me, but of
> course I'm biased ;-), we're free to change stuff under the hood.

+1  Compatibility is key.  Note however that it's also harder than it
looks, so gratuitous change will often bite you.  That being said, I
think you're on the right track here.
-- 
Benji York


More information about the Zope-Dev mailing list