You can base DemoStorage on another storage. This could be simple with
ZTC, haven't tried in a while. See ZopeLite.sandbox() and sandbox.py.
You may be able to get away with minor mods to the base classes, e.g.
overriding the _app() method of Sandboxed/Functional.
Stefan
On 27.05.2008, at
Look at zc.selenium, which does this.
Jim
On May 27, 2008, at 5:22 PM, Martin Aspeli wrote:
Hi,
I'm trying to set up a test case with Selenium RC. For this I need
to be able to set up a layer that includes a base state Plone site
with some data. I then need to be able to execute a number
Hi,
I'm trying to set up a test case with Selenium RC. For this I need to be
able to set up a layer that includes a base state Plone site with some
data. I then need to be able to execute a number of Selenium tests
(which will perform operations that do ZODB commits across multiple
requests),