w3c / N3

W3C's Notation 3 (N3) Community Group

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spec test eval case

jeswr opened this issue · comments

Would it be possible to have some spec test eval cases that cover this rdfjs/N3.js#342 (comment)

I'm adding some tests to the N3.js parser test suite (which is rather extensive so it could be good if you want inspiration for additional cases).

@jeswr Please feel free to suggest a PR with suitable test cases. We rely on volunteer efforts like this :-)

How curated would you want them to be. In theory I could put together a script that generates a set of ~5000 test cases based on the unit tests for lexing and parsing in N3.js. Is this too much?

Typically a test case is specific for a certain language feature (such as an "id" only being an IRI). E.g., they are often named for the specific feature they are testing. So, test cases tend to be curated and not generated automatically.