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

Re: Start of a GRDDL Test Suite

From: Dominique HazaŽl-Massieux <dom@w3.org>
Date: Wed, 02 Feb 2005 18:05:29 +0100
To: public-rdf-in-xhtml-tf@w3.org
Message-Id: <1107363929.10233.135.camel@stratustier>
Le mercredi 02 fťvrier 2005 ŗ 12:01 +0100, Dominique HazaŽl-Massieux a
ťcrit :
> I've started a (smallish for now) test suite for GRDDL implementations;
> right now it includes only test for the simplest case, ie XHTML document
> using the GRDDL profile:
> http://dev.w3.org/cvsweb/2005/grddl-ts/
> 
> You invoke it ŗ la:
>  python testHarness.py --<action> "/home/dom/dev.w3.org/2005/grddl-ts/gleanWrapper" file:///home/dom/dev.w3.org/2005/grddl-ts/test-lists.rdf
> where <action> can be "run" or "update"
> 
> (I've written a wrapper for glean.py and one for the XSLT-servlet based
> demo; they're straightforward shell scripts that takes a URI as sole
> argument; I'll probably add a wrapper for a RAP-based GRDDLer later on)

I've added the said wrapper for RAP v >= 0.9.1 at
http://dev.w3.org/cvsweb/2005/grddl-ts/rapWrapper

It fails 3 tests on the 5:
python testHarness.py --run "/home/dom/dev.w3.org/2005/grddl-ts/rapWrapper" file:///home/dom/dev.w3.org/2005/grddl-ts/test-lists.rdf
* http://dev.w3.org/cvsweb/~checkout~/2005/grddl-ts/#xhtmlWithGrddlTransformationInBody failed
* http://dev.w3.org/cvsweb/~checkout~/2005/grddl-ts/#xhtmlWithMoreThanOneGrddlTransformation failed
* http://dev.w3.org/cvsweb/~checkout~/2005/grddl-ts/#xhtmlWithGrddlEnabledProfile failed

(the last one hasn't found its way to the GRDDL spec yet, so that's not
unexpected); also, I don't expect it will pass the GRDDL-in-XML cases,
but I haven't written them yet anyway.

Dom
-- 
Dominique HazaŽl-Massieux - http://www.w3.org/People/Dom/
W3C/ERCIM
mailto:dom@w3.org


Received on Wednesday, 2 February 2005 17:05:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:59 GMT