File: README.md

package info (click to toggle)
python-rdflib-jsonld 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,832 kB
  • sloc: python: 1,800; makefile: 132
file content (9 lines) | stat: -rw-r--r-- 649 bytes parent folder | download
1
2
3
4
5
6
7
8
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 relevant 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/