W3C home > Mailing lists > Public > public-rdf-wg@w3.org > March 2013

N-Triples test suite

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Tue, 12 Mar 2013 17:28:37 -0700
Message-Id: <9985BEC9-1C35-4787-A047-C4ED2F4ED76B@greggkellogg.net>
To: "<public-rdf-wg@w3.org> WG" <public-rdf-wg@w3.org>
Spurred on by a suggestion from Gavin, I've created a test suite for N-Triples. This is mostly based on the Turtle syntax tests and the original RDF Tests version from Dave Beckett. I've added some additional negative syntax tests, but I'm sure there could be more. I didn't think that evaluation tests were particularly important, but we could have some to verify the equivalence of UTF-8 escaped and un-escaped.

The format is the same as for Turtle, and the Manifest is in Turtle, but it uses rdft:TestNTriplesPositiveSyntax and rdft:TestNTriplesNegativeSyntax types.

I didn't look at the Turtle "coverage" suite, and there are probably more specific things that can be added based on that. as well as more things that are legal in Turtle, but illegal in N-Triples.

Tests are at <https://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/tests-nt/manifest.ttl>.

Gregg Kellogg
Received on Wednesday, 13 March 2013 00:29:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:26 UTC