Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jelly spec test kits #25

Open
Ostrzyciel opened this issue Feb 21, 2025 · 0 comments
Open

Jelly spec test kits #25

Ostrzyciel opened this issue Feb 21, 2025 · 0 comments
Labels
compat enhancement New feature or request

Comments

@Ostrzyciel
Copy link
Member

Somewhat related to #24

Up for discussion: Currently, there are no test cases for the spec, making it hard to determine whether an implementation is adhering to the spec or not. Currently, Jelly-JVM uses a set of test cases in scalatest, but these are not easy to reuse in any way.

I think we should have a test kit for the spec that would check the support for each individual capability, and then also the behavior of the implementation on more complex, real-world use cases. This is of course tightly linked to the Jelly protocol profiles (#24), which would decide which test cases are appropriate.

To keep things as standardized as possible, I'd suggest to reuse/extend the W3C's work on RDF Test Cases: https://www.w3.org/TR/rdf11-testcases/

We can most likely reuse a lot of the test cases from Jelly-JVM. It should then of course be migrated to the new test case system.

Licensing may be important here. To avoid headaches with reusing the test cases in codebases, I'd strongly suggest to make the test cases CC-zero. I really do not want any license compatibility issues here, and I don't see any good reason why the test should not be CC-zero.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compat enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant