[Zope3-dev] ZCML, functional testing and buildout

Christian Theune ct at gocept.com
Tue Nov 28 05:20:52 EST 2006


Hi everyone,

Thomas Lotze and I were working on creating a zc.buildout for one of our
internal projects.

The ZCML of our application is loaded using the 'package-includes'
mechanism. To support functional testing, a 'kita-ftesting.zcml' slug
was placed in the 'package-includes' and - as far as I can tell - this
takes care to only load this ZCML when running functional tests.

We're having a problem with the buildout integration at this point, as
for the testrunner we are using the zc.recipe.testrunner recipe.

However, the functional testing ZCML is placed in the instance part, but
the testrunner does not know anything about this (should it?).

Here's the question: what would be a good way to get the test runner
load the correct ZCML for running tests?

Cheers,
Christian

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20061128/d5fea48b/signature.bin


More information about the Zope3-dev mailing list