Re: [Zope3-Users] testing setup

2006-07-18 Thread Baiju M
On 7/19/06, luis <[EMAIL PROTECTED]> wrote: hello, I'm having problems trying to write some tests for my code so... can someone tell me (or point me to) how to setup the "infrastructure" required for running unit -and specially- functional tests? These recipes may be usefull: http://www.zo

Re: [Zope3-Users] testing setup

2006-07-18 Thread Darryl Cousins
On Wed, 2006-07-19 at 00:21 +0200, luis wrote: ... > the problem is that now I'd like to create some "functional tests" > like "creating an object with my AddForm"... > > I know there is a testbrowser, and I think I've read of another possibility > to somehow record a human interaction once, and

Re: [Zope3-Users] testing setup

2006-07-18 Thread Marco Mariani
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 th

[Zope3-Users] testing setup

2006-07-18 Thread luis
hello, I'm having problems trying to write some tests for my code so... can someone tell me (or point me to) how to setup the "infrastructure" required for running unit -and specially- functional tests? I've created a 'tests.py' which looks something like this: ## def test_suite(): ret