On Saturday 14 July 2007 15:30, Benji York wrote:
> Marius Gedminas wrote:
> >   - Functional tests: these are .txt files that use zope.testbrowser and
> >     are the hardest to debug.  There ought to be a better way to make
> >     assertions about HTML output than using ELLIPSIS and then pulling
> >     your hair out looking at huge and incomprehensible diffs.
> Yep, assertions about HTML (or XML) are difficult to do with plain text.
>   One option is to feed browser.contents to your favorite HTML (XML)
> parser.

Right, z3c.etestbrowser does this already. I wish they would have done this 
with a different object altogether, but they extended the TestBrowser class. 
But then I do not have enough objectstion to write a new package.

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to