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

Create a base set of toRdf / fromRdf test cases #39

Open
Ostrzyciel opened this issue Mar 17, 2025 · 0 comments
Open

Create a base set of toRdf / fromRdf test cases #39

Ostrzyciel opened this issue Mar 17, 2025 · 0 comments
Assignees
Labels
compat enhancement New feature or request

Comments

@Ostrzyciel
Copy link
Member

Add a set of tests checking the conversion from N-Quads/N-Triples to Jelly and vice versa.

Use JSON-LD tests as inspiration:

Directory structure:

  • tests (at the root of this repo)
    • fromRdf (test group name)
      • triples_001 (test identifier)
        • in_001.nt
        • out.jelly
      • quads_001
        • in_001.nq (stream element 1)
        • in_002.nq (stream element 2)
        • out.jelly

Note that the implementing the test metadata or reporting mechanisms is not part of this issue. This can be done later as another subissue of #25.

We can make test subgroups based on feature support (e.g., RDF-star, generalized RDF, namespace declarations).

CC-ing @adanilenka and @bswck as this will be useful in pyjelly.

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