W3C home > Mailing lists > Public > www-rdf-calendar@w3.org > February 2004

Re: conversion testing before round-trip testing

From: Libby Miller <Libby.Miller@bristol.ac.uk>
Date: Wed, 11 Feb 2004 17:35:26 +0000 (GMT)
To: Dan Connolly <connolly@w3.org>
Cc: www-rdf-calendar@w3.org
Message-ID: <Pine.GSO.4.58.0402111730210.7392@mail.ilrt.bris.ac.uk>


hi Dan.

This makes sense to me. I started to do it with the java version[1] -
now out of date - although I didn't have proper graph compare tools to
use so I just compared the number of triples. I guess cwm can do this.

My problem was having a sensible place to put the ones to test against
and the newly generated ones. Just needs a bit of thought probably.

Libby

[1] http://www.ilrt.bris.ac.uk/discovery/2003/02/cal/mimedir-parser/Makefile


On Wed, 11 Feb 2004, Dan Connolly wrote:

>
> As my rewrite of ical2rdf.pl in python started to work,
> I realized that before I get into round-trip testing,
> I want to do conversion testing, where we compare
> the results of running a conversion with expected results...
> something like...
>
> 	fromIcal.py test/cal01.ics > ,temp/cal01.rdf
> 	graphCompare test/cal01.rdf ,temp/cal01.rdf
>
> I guess it's sort of an obvious idea that I skipped over
> in our discussions so far.
>
> I haven't built a test harness yet. I'll let you know
> when/if I do. Anybody who beats me to it gets a gold star ;-)
>
> Meanwhile... any feedback on the idea?
>
> --
> Dan Connolly, W3C http://www.w3.org/People/Connolly/
> see you at the W3C Tech Plenary in Cannes 1-5 Mar 2003?
>
>
>
>
Received on Wednesday, 11 February 2004 12:37:57 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Friday, 25 March 2005 11:20:43 GMT