Hi All,

I'm just starting to play with zope.testbrowser's testing.Browser but I 
notice that is uses the following packages:

transaction
zope.app.testing
zope.app.folder
zope.app.component

...but zope.testbrowser doesn't declare any dependency on these.

It probably should in some way, but I can see why it doesn't currently, 
give nthat there are likely lots of zope.testbrowser users who have to 
interested in zope.testbrowser.testing.Browser.

Is this something that we can solve with:
http://peak.telecommunity.com/DevCenter/setuptools#declaring-extras-optional-features-with-their-own-dependencies

If it is, I guess we would add an extra_requires to zoep.testbrowser's 
setup.py with the packages listed above?

Would the following then work in a buildout:

[test]
recipe = zc.recipe.testrunner

eggs =
     mypackage
     zope.testbrowser[testing.Browser]

?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to