W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > July 2008

JavaScript Test Harness + EARL reports

From: Ben Adida <ben@adida.net>
Date: Wed, 23 Jul 2008 20:23:22 -0700
Message-ID: <4887F5AA.1@adida.net>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>


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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 24 July 2008 03:24:03 GMT