SUnit for XML?

Bijan Parsia bparsia at email.unc.edu
Thu Nov 29 22:12:13 UTC 2001


On Thu, 29 Nov 2001, Michael Rueger wrote:

> 
> Hi all,
> 
> are there any (SUnit) test cases for XML out there?

Yes.

> I used to test Yax
> with a bunch of test files from  James Clark's test suite
> (http://www.squeaklet.com/Yax/xmltest.zip), but never got around to
> create a real test suite out of it. 

Roger Whitney created a lovely test suite using the Clark/Oasis
stuff. It's available for Squeak and works with the VWXML parser. You'll
have to adapt it to your parser.

The code is available:
	http://monkeyfist.com/downloads/smalltalk/squeak/cst/xmlparser/

In the comment for XMLParserTests, there are links to the test files.

> A test suite would give as an objective measure of what works with which
> parser and would provide a list of points to work on.

Yes, it was great when I was porting the VWXML parser. It passes a *large*
number of these tests.

[snip]

Yay Roger!

Cheers,
Bijan Parsia.





More information about the Squeak-dev mailing list