[Zope-dev] Re: ZCML and 'zopectl test'?
pw_lists at slinkp.com
Sun Jan 7 12:58:14 EST 2007
On Sun, Jan 07, 2007 at 12:14:32PM +0100, Philipp von Weitershausen wrote:
> So, there are two options:
> - modify the setUp() of the tests in question to
> - make the respective tests run in a layer that loads the ZCML. I don't
> think layer support is on the trunk yet. Whit Morriss has a branch where
> he added that to Zope 2, but it still hasn't been merged :(
The testrunner in zope 2 has supported layers for quite a while.
I currently use layers in my tests with zope 2.9.1.
TestLayersHowTo on zopewiki.org gives a working example.
Or do you mean something else by "layer support"?
More information about the Zope-Dev