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.
action) can be parsed into a dataset which is isomorphic to those described in results.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.
The manifests retain historical tests so that implementations may measure
compatibility with older N3 dialects. Test runners reporting conformance with
the current N3 specification should use rdft:approval:
rdft:Approved, rdft:Proposed, and unmarked tests are applicable to the
current test corpus.rdft:Rejected tests are non-conformance compatibility tests and should be
reported separately rather than counted as current-spec failures.In particular, parser-corpus cases that require the legacy explicit
quantifiers @forAll and @forSome are marked rdft:Rejected, because
explicit N3 quantifiers were removed from the current specification.
The fixtures remain useful for implementations that intentionally support the
historical syntax.
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.