Re: Testing different SXPath implementations

"Dmitry Lizorkin" <[email protected]> Mon, 29 Nov 2004 18:18:49 +0300
Newsgroups gmane.lisp.scheme.ssax-sxml
Message-ID <[email protected]>
Hello!

>   recently I wrote a Bigloo program to test different SXPath
> implementations and created a set of tests.

That's interesting! I especially liked your idea of parameterizing your
program with the SXPath implementation you want to test.

For testing SXPath, we currently use Kirill Lisovsky's XTester:
http://www.pair.com/lisovsky/ad/xp/

We have a slightly different set of tests for each SXPath implementation,
because XTester stops when it encounters an unexpected result. In your
approach, it is possible to obtain the statistics of passed/failed tests for
a particular SXPath implementation. Additionally, it may be convenient to
gather all the test statistics in the form of S-expressions (SXML?).

I uploaded the SXPath tests we are currently using. You can download them
here:
http://modis.ispras.ru/Lizorkin/Download/sxml-tests.zip

BTW, a kind of SXML diff can be useful for comparing between the expected
and the obtained results.

Dmitry





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/