This is correct for the default configuration. I deemed CMF site creation fast enough at that time. In PloneTestCase, for example, we instantiate a single portal at import time and reuse it for every test. In the end it is a simple matter of overriding getPortal (which is a hook that exists for this very purpose).

Note that I plan to reevaluate PortalTestCase/CMFTestCase in the light of CMF 1.5+ now that my Plone workload has eased a bit.


On 8. Sep 2005, at 14:30, Florent Guillaume wrote:

ZopeTestCase is ok. It's PortalTestCase and the like that are slow, because they instantiate a full portal.


Anything that happens, happens.  --Douglas Adams

Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to