[Zope3-dev] using zope.testing without zope

Jim Fulton jim at zope.com
Fri Dec 22 07:53:20 EST 2006


Chris Withers wrote:
> Hi All,
> 
> Does anyone have any experience of using zope.testing outside of Zope?

Yes.  Lots.

> I use zope.testing.doctest for the Twiddler tests and I'd like to use 
> zope.testing.testrunner for running the tests in a "plain python" 
> environment.
> 
> In particular, I'd like to see if all the Twiddler tests pass under 
> Python 2.5.
> 
> What version of zope.testing should I use and how should I actually kick 
> off zope.testing.testrunner?

The easiest way is with the buildout zc.recipe.testrunner recipe.
There are lots of examples of this in the repository,
including ZODB, zc.buildout, zc.ngi, zc.recipe.rhrc, among many others.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Zope3-dev mailing list