OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML and unit testing

> JUnit seems to form a consensus as the unit testing framework for Java code.

It's gotten a certain amount of attention, but given many folk have
decided _not_ to use it, that clearly can't be true.

> - A kind of SAXAsserter that would compare two SAX event flow for equality
> (two threads pushing SAX events on the same asserter)

The simple way to do that is to canonicalize into text and then compare
the output. This is what the SAX/XML conformance suite does (at
http://xmlconf.sourceforge.net/java) when seeing how well a SAX
parser meets "generate correct output for valid XML" requirements.

- Dave