Re: [Zope-dev] Zope test layers, pytest, and test isolation

2011-03-24 Thread Godefroid Chapelle
Hi Uli, I am happy that some people started to look what is needed to make modular component registrations with py.test. The long explanation that you wrote made it easy for me to jump into funcargs. Those last months, I have been diving into the great plone.testing package written by Martin

Re: [Zope-dev] Zope test layers, pytest, and test isolation

2011-03-24 Thread Martijn Faassen
Hi there, [extensive introduction by Uli of zope.pytest] Thanks Uli for that introduction to the package and its problems! I've been using zope.pytest within 2 Grok projects so far to test through webob some JSON webservices, and it's worked well for me. I hadn't had to deal with the issue of

Re: [Zope-dev] Zope test layers, pytest, and test isolation

2011-03-24 Thread Hanno Schlichting
Hi. Disclaimer: I don't know anything about pytest. On Thu, Mar 24, 2011 at 1:05 AM, Uli Fouquet wrote: > Are there cheap/fast ways to cache/restore registry setups we hadn't had > on the screen? Really fast setups/cache-restores could make even > function-wise registrations a considerable thing

[Zope-dev] Zope test layers, pytest, and test isolation

2011-03-23 Thread Uli Fouquet
Hi there, Some of you might have noticed that some time ago the first version of `zope.pytest` was released: http://pypi.python.org/pypi/zope.pytest It's a try to make usage of `pytest` more comfortable in Zope-based environments. `zope.pytest` is mainly based on Martijns, Jan-Wijbrands, and C