[Zope3-dev] Re: IAdding

Philipp von Weitershausen philipp at weitershausen.de
Mon Nov 15 00:40:32 EST 2004


Shane Hathaway wrote:
> Unfortunately, ftesting.zcml (at the Zope 3 root) seems to be very
> general, while I'm working on something very specific to
> zope.app.container.browser.ftests.  To solve this, I'm thinking about
> adding a new class of directives to package-includes.  I want to add the
> following directive to the existing ftesting.zcml:
> 
>   <include files="package-includes/*-ftesting.zcml" />
> 
> Then, I'll add a file called zope.app.container.browser-ftesting.zcml to
> package-includes.  Its content:
> 
> <include package="zope.app.container.browser.ftests" />
> 
> Finally, I'll add my directive to a new configure.zcml in the ftests
> package.  Does that sound like a good plan?  Am I missing anything?

I actually have the exact same setups for some functional tests 
(configure.zcml in the ftests package) and would definitely like to see 
this too!

+1

Philipp


More information about the Zope3-dev mailing list