[ZODB-Dev] test.py in ZODB3-3.8.1b7.tar.gz

Benji York benji at zope.com
Wed Sep 3 11:29:17 EDT 2008


On Wed, Sep 3, 2008 at 11:17 AM, richrad miller <rmiller at nextg.com> wrote:
> I am new to zodb.  I have downloaded zodb3-3.8.1b7 and
> all seems to run well.  I was wanting to run the tests
> as advertised in the README.txt. I am unable to find
> a test.py.  Am I being stupid?

The ZODB development build is generated by zc.buildout.  These steps
should get you there:  (this might need to be documented in the
README)

% python bootstrap.py
Creating directory '/tmp/ZODB3-3.8.1b7/bin'.
Creating directory '/tmp/ZODB3-3.8.1b7/parts'.
Creating directory '/tmp/ZODB3-3.8.1b7/develop-eggs'.
Generated script '/tmp/ZODB3-3.8.1b7/bin/buildout'.

% bin/buildout
Develop: '/tmp/ZODB3-3.8.1b7/.'
bin/test -cGetting distribution for 'zc.recipe.testrunner'.
zip_safe flag not set; analyzing archive contents...
Got zc.recipe.testrunner 1.1.0.
Getting distribution for 'zope.testing>=3.6.0'.
Got zope.testing 3.6.0.
Installing test.
Getting distribution for 'zdaemon'.
Got zdaemon 2.0.2.
Getting distribution for 'zope.proxy'.
Got zope.proxy 3.4.2.
Generated script '/tmp/ZODB3-3.8.1b7/bin/test'.
Installing scripts.
[snip]

% bin/test
Running zope.testing.testrunner.layer.UnitTests tests:
[snip]
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the ZODB-Dev mailing list