JavaScript Test Harness + EARL reports

Hi all,

After some fun hacking, Elias and I (well, mostly Elias) got the 
JavaScript Test Harness working, including Earl output.

http://torrez.us/code/rdfa-js/tests/

By default, you can run Elias's parser. Or, if you want to run mine, use 
the following URL in the JavaScript Parser URL field:

http://www.w3.org/2006/07/SWD/RDFa/impl/js/rdfa-testrunner.js

You'll see that Elias and I are both at 83/84 tests passing, but that's 
confounded by two issues:

- the harness doesn't currently look at expected negatives, so for 
example we should both be passing test 42, but we're failing it.

- XML literals and white-space preservation seem to be giving us lots of 
trouble, in that my parser, for example, seems to work, but for some 
reason the SPARQL is failing.

In any case, you can run either parser and get the EARL report at the 
bottom. Woohoo :)

-Ben

Received on Thursday, 24 July 2008 03:24:01 UTC