Tests exist for N3 grammar, N3 reasoning, extended N3 grammar and relevant Turtle features.
All of these tests suites are referenced from this manifest.
In general, tests are described as Positive or Negative Syntax tests, Evaluation tests, and/or Reason tests.
- Syntax tests simply check that the data can be parsed properly; negative syntax tests should generate an error.
- Evaluation tests check whether the input (
action
) can be parsed into a dataset which is isomorphic to those described inresults
. - Reason tests invoke the Notation3 reasoner, with various options, and check that the results are isomorphic to those described in
results
.
Tests should be run with an assumed base URI of their associated manifest, either https://w3c.github.io/N3/tests/N3Tests
or https://w3c.github.io/N3/tests/TurtleTests
.
If you would like to contribute a new test or a fix to an existing test, please file an issue and/or create a pull request.