aboutsummaryrefslogtreecommitdiffstats
path: root/test/w3c/trig/README
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-03 09:00:31 -0400
committerDavid Robillard <d@drobilla.net>2023-04-06 07:19:10 -0400
commit25784d0c24744533fd3c056e3d58f2f869ba341a (patch)
treef3ef224fb584a59980683909b4a934d22d1c4453 /test/w3c/trig/README
parent45033d91842ebec303589e4ea14e6c62417e8469 (diff)
downloadserd-25784d0c24744533fd3c056e3d58f2f869ba341a.tar.gz
serd-25784d0c24744533fd3c056e3d58f2f869ba341a.tar.bz2
serd-25784d0c24744533fd3c056e3d58f2f869ba341a.zip
Simplify naming of W3C test directories
This matches the names used in <https://github.com/w3c/rdf-tests.git>.
Diffstat (limited to 'test/w3c/trig/README')
-rw-r--r--test/w3c/trig/README41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/w3c/trig/README b/test/w3c/trig/README
new file mode 100644
index 00000000..2187549a
--- /dev/null
+++ b/test/w3c/trig/README
@@ -0,0 +1,41 @@
+This README is for the W3C RDF Working Group's TriG test suite.
+This test suite contains three kinds of tests:
+
+ Evaluation (rdft:TestTriGEval) - a pair of an input trig file
+ and referenced nquads file.
+
+ Positive syntax (rdft:TestTriGPositiveSyntax) - an input trig
+ file with no syntax errors.
+
+ Negative syntax (rdft:TestTriGNegativeSyntax) - an input trig
+ file with at least one syntax error.
+
+The manifest.ttl file in this directory lists all of the tests in the
+RDF WG's TriG test suite. Each test is one of the above tests. All
+tests have a name (mf:name) and an input (mf:action). The Evaluation
+tests have an expected result (mf:result).
+
+• An implementation passes an Evaluation test if it parses the input
+ into a dataset, parses the expected result into another dataset, and
+ those two dataset are isomorphic (see
+ <https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism>).
+
+• An implementation passes a positive syntax test if it parses the
+ input.
+
+• An implementation passes a negative syntax test if it fails to parse
+ the input.
+
+The home of the test suite is <http://www.w3.org/2013/TriGTests/>.
+Per RFC 3986 section 5.1.3, the base IRI for parsing each file is the
+retrieval IRI for that file. For example, the tests trig-subm-01 and
+trig-subm-27 require relative IRI resolution against a base of
+<http://www.w3.org/2013/TriGTests/trig-subm-01.trig> and
+<http://www.w3.org/2013/TriGTests/trig-subm-27.trig> respectively.
+
+
+See http://www.w3.org/2011/rdf-wg/wiki/TriG_Test_Suite for more details.
+
+
+Eric Prud'hommeaux <eric+turtle@w3.org> - 11 June 2013.
+Gregg Kellogg <gregg@greggkellogg.net> - 12 June 2013.