summaryrefslogtreecommitdiff
path: root/test/jsonld/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/jsonld/README.md')
-rw-r--r--test/jsonld/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/jsonld/README.md b/test/jsonld/README.md
new file mode 100644
index 00000000..69dc9e27
--- /dev/null
+++ b/test/jsonld/README.md
@@ -0,0 +1,9 @@
+The `test-suite` directory is a partial *copy* of the official test suite available at <http://www.w3.org/2013/json-ld-tests/>. Do *not* add tests directly there, but follow the instructions provided at the preceding location.
+
+To update this copy, first obtain a local copy of the json-ld-tests test-suite. Then copy the relevants parts of that directory into this test directory.
+
+You can do so by first defining a `$JSONLD_TESTSUITE` environment variable set to the local copy of the test-suite directory. Then run:
+
+ $ cp $JSONLD_TESTSUITE/*.jsonld test/test-suite/
+ $ cp $JSONLD_TESTSUITE/tests/{toRdf,fromRdf}-*.* test/test-suite/tests/
+