On 21 Dec 2005, at 15:44, Gary Poster wrote:
On Dec 21, 2005, at 9:25 AM, Florent Guillaume wrote:
I didn't find the info I was looking for in the unit tests and
docs for the testrunner:
Jim's the one to answer most of this, but FWIW everything (the
little) I need is demonstrated (if not explained) in my recent
Layer code is near the very bottom only, and has nothing directly
to do with testbrowser.
The zcml file that the layer uses ('ftesting.zcml' in the example)
is effectively the site.zcml for the layer.
The name that you give the layer is what you slam on to the test
suite object (see example).
The --layer thing is regex based, I believe, although all I've not
needed anything other than substring matching, so no regex syntax.
I'd missed zope.app.teseting.functional and its ZCMLLayer and
defineLayer. I think they will come in handy.
Florent Guillaume, Nuxeo (Paris, France) Director of R&D
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
Zope3-dev mailing list