[Zope-Coders] Website regression testing tool now available

Richard Jones rjones@ekit-inc.com
Tue, 5 Mar 2002 08:51:35 +1100


On Tue, 5 Mar 2002 04:11, seb bacon wrote:
> One of
> the problems was that a side-effect of parsing the DOM is that all the
> pages need to be error-free or the tests fail.  Now, while that's
> obviously a good goal (it picked up a few typos), it also got in the way
> of me actually doing any tests, partly because in one case where there
> was a missing close tag it took me a while to track it down (I got an
> EOF error from the parser).

Yes, this is a big issue here too - the error needs to be much more easily 
pinpointed.


> I also couldn't get a form post to work properly.  I spent about 20
> minutes wrestling with it, but despite copying your examples, I couldn't
> get it to work.  The error reporting was too vague to help me pinpoint
> it and I didn't have the energy to track it down myself.

I suspect that there's some things that I do automatically now that aren't 
documented. One of the biggies is that you must be sure to include the 
correct names ("foo" vs "foo:string"). Another is that often a submit 
name:value is needed. In an image button submit, that's "name.x". That sort 
of thing :)



    Richard