[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XML and unit testing
- From: David Brownell <email@example.com>
- To: Nicolas LEHUEN <firstname.lastname@example.org>
- Date: Thu, 05 Jul 2001 10:51:34 -0700
> 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.