[Zope3-dev] Re: Windows eggs

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Jul 15 08:24:31 EDT 2007


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.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list