Re: Start of a GRDDL Test Suite

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 UTC