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

test possibility of malformed schemas #50

Closed
gilesbowkett opened this issue Nov 10, 2014 · 2 comments
Closed

test possibility of malformed schemas #50

gilesbowkett opened this issue Nov 10, 2014 · 2 comments

Comments

@gilesbowkett
Copy link
Contributor

the JSON Schema test suite project has its whole test harness work on the idea that you have valid schemae and you test docs against them to see that the validation works properly.

it'd be nice to get a bunch of tests in there for what to do when JSCK encounters a malformed schema.

and, in an ideal world, it'd be rad to get that back to the JSON Schema test suite project, too.

@automatthew
Copy link
Contributor

Failures could indicate the section of the spec that was violated, possibly with error text from the spec.

@automatthew
Copy link
Contributor

Wrote tests for most attributes, fixed resulting errors. Created #55 to handle the rest.

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

No branches or pull requests

2 participants