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

Autogenerate JSON-Schema-Test-Suite cases from the referencing cases #3

Open
Julian opened this issue Feb 23, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Julian
Copy link
Member

Julian commented Feb 23, 2023

It should be possible and reasonably straightforward to take any referencing test, or at least any non-erroring test (which here generally takes the form "create some schemas, maybe set a base URI, then resolve a ref or few and assert against the result being some concrete object") and convert it into a JSON-Schema-Test-Suite test case where we need to express the assertion as a valid-or-invalid instance.

This suite is currently a lot richer than the regular one for $ref-specific tests, so doing so will allow sending tests back into the upstream suite without hand-authoring them.

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

No branches or pull requests

1 participant