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)
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.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list