W3C home > Mailing lists > Public > public-grddl-wg@w3.org > November 2006

updated GRDDL test how-to

From: Dan Connolly <connolly@w3.org>
Date: Thu, 16 Nov 2006 17:59:23 -0600
To: GRDDL Working Group <public-grddl-wg@w3.org>
Message-Id: <1163721563.3997.55.camel@dirk>
Hi all,

Today was a productive day in #swig; the first batch of
5 tests are somewhat in sync. I updated the test collection
documentation, including:

[[
How to run the tests

We provide testft.py, a test driver, based on rdflib 2.3.3 and 4suite,
specifically 4Suite-XML-1.0.tar.gz. Run it a la:

 $ python testft.py --run your_grddl_impl testlist1.rdf
 All tests were passed!

It has options for --debug and such; invoke it with no arguments for
details.
]]
  http://www.w3.org/2001/sw/grddl-wg/td/testlist1
  $Revision: 1.10 $ of $Date: 2006/11/16 23:54:14 $


Attached find the output of a run with a bunch of debug info.

To make sure I don't forget, here's the command line I'm using
to get all the relevant stuff:

connolly@dirk:~/w3ccvs/WWW/2001/sw/grddl-wg/td$
http_proxy=http://127.0.0.1:6543 make DEBUG=--debug PYTHON="PYTHONPATH=
$HOME/lib:$HOME/lib/python:$HOME/lib/python2.4 python"  >,test.out 2>&1



-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E

PYTHONPATH=/home/connolly/lib:/home/connolly/lib/python:/home/connolly/lib/python2.4 python testft.py --debug --run ../grddlft/GRDDL.py testlist1.rdf
### #title_author: the Stand/King example from the spec ###
	file:///home/connolly/w3ccvs/WWW/2001/sw/grddl-wg/td/titleauthor.html
running:  ../grddlft/GRDDL.py file:///home/connolly/w3ccvs/WWW/2001/sw/grddl-wg/td/titleauthor.html
Saving result to  titleauthor-output.rdf.result
### #rdfa1: RDFa example ###
	file:///home/connolly/w3ccvs/WWW/2001/sw/grddl-wg/td/rdf_sem.html
running:  ../grddlft/GRDDL.py file:///home/connolly/w3ccvs/WWW/2001/sw/grddl-wg/td/rdf_sem.html
Saving result to  rdf_sem-output.rdf.result
### #sq1a:
explain sq1 result: the namespace document has no/empty GRDDL result ###
	file:///home/connolly/w3ccvs/WWW/2001/sw/grddl-wg/td/sq1ns.xml
running:  ../grddlft/GRDDL.py file:///home/connolly/w3ccvs/WWW/2001/sw/grddl-wg/td/sq1ns.xml
Saving result to  sq1-output.rdf.result
### #projectsSpreadsheet:
get RDF from a spreadsheet ###
	file:///home/connolly/w3ccvs/WWW/2001/sw/grddl-wg/td/projects.xml
running:  ../grddlft/GRDDL.py file:///home/connolly/w3ccvs/WWW/2001/sw/grddl-wg/td/projects.xml
Saving result to  projects.rdf.result
### #xmlWithGrddlAttribute:
P3P work-alike ###
	file:///home/connolly/w3ccvs/WWW/2001/sw/grddl-wg/td/xmlWithGrddlAttribute.xml
running:  ../grddlft/GRDDL.py file:///home/connolly/w3ccvs/WWW/2001/sw/grddl-wg/td/xmlWithGrddlAttribute.xml
Saving result to  xmlWithGrddlAttribute-output.rdf.result
All tests were passed!
Received on Thursday, 16 November 2006 23:59:33 GMT

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