luis ha scritto:
> I know there is a testbrowser, and I think I've read of another possibility
> to somehow record a human interaction once, and then reply it in the test,
> and somewhere I've seen a "TestRequest" as well...so
Look for zope.testrecorder in svn
> what is the right way to do this "through-the-web" tests?
You record a session with testrecorder and generate python code; then
you put that in a doctest and modify it to suit your needs
> right now I'm trying to get the testbrowser to work, but all tests fail
> because the server is not running, so how do I tell the "testing framework"
> to start the zope server so that the testbrowser can connect to it?
No, you don't need the zope server to run for the tests.
> would the testing framework create a new instance with a clean database and
> remove it after the tests (or use a memory database), or just use the
> normal Data.fs ?
It doesn't touch your Data.fs
Zope3-users mailing list