- From: Boris Villazon-Terrazas <boris.villazon@deri.org>
- Date: Fri, 22 Jul 2011 11:36:21 +0100
- To: Michael Hausenblas <michael.hausenblas@deri.org>
- CC: Richard Cyganiak <richard@cyganiak.de>, rdb2RDF WG <public-rdb2rdf-wg@w3.org>
Hi all I included a new property in our model, rdb2rdf-test#hasExpectedOutput. I also created two test cases, already included in the cvs respos [1], the description is here <tc0012c> a rdb2rdftest:R2RML ; dcterms:title "TriplesMap without subjectMap" ; dcterms:identifier "R2RMLTC012c" ; test:purpose "Tests a R2RML with missing information, TriplesMap without subjectMap." ; test:specificationReference "#dfn-output-dataset" ; test:reviewStatus test:unreviewed ; rdb2rdftest:database <d012> ; rdb2rdftest:hasExpectedOutput "false"^^xsd:boolean ; rdb2rdftest:mappingDocument "r2rmlc.ttl" ; . <tc0012d> a rdb2rdftest:R2RML ; dcterms:title "TriplesMap with two subjectMap" ; dcterms:identifier "R2RMLTC012d" ; test:purpose "Tests a R2RML with wrong information, TriplesMap with two subjectMap." ; test:specificationReference "#dfn-output-dataset" ; test:reviewStatus test:unreviewed ; rdb2rdftest:database <d012> ; rdb2rdftest:hasExpectedOutput "false"^^xsd:boolean ; rdb2rdftest:mappingDocument "r2rmld.ttl" ; . Best Boris [1] https://dvcs.w3.org/hg/rdb2rdf-tests/ On 22/07/2011 8:52, Michael Hausenblas wrote: > >> I'd say no output file or error message. The test case could simply >> have a flag to indicate that it is supposed to fail > > +1 > > In the RDFa TC I used: > > <expectedResults rdf:datatype="xsd:boolean">false</expectedResults> > > (OK, promise, I'll never use an XML syntax here again; just lazy ;) > > Cheers, > Michael > -- > Dr. Michael Hausenblas, Research Fellow > LiDRC - Linked Data Research Centre > DERI - Digital Enterprise Research Institute > NUIG - National University of Ireland, Galway > Ireland, Europe > Tel. +353 91 495730 > http://linkeddata.deri.ie/ > http://sw-app.org/about.html > > On 22 Jul 2011, at 08:37, Richard Cyganiak wrote: > >> On 21 Jul 2011, at 21:50, Boris Villazon-Terrazas wrote: >>> but, what would be the output of these "incorrect" test cases, an >>> empty result with (or without) a error message? >>> One option is an empty result and an error message pointing out what >>> R2RML section is wrong/missing. >>> what do you think? >> >> I'd say no output file or error message. The test case could simply >> have a flag to indicate that it is supposed to fail. >> >> Best, >> Richard > >
Received on Friday, 22 July 2011 10:37:04 UTC