Closed merkys closed 3 years ago
Ah! Nice to see there's new drafts in that repo :) J::V already use the official tests for draft04, but it would be fantastic to add tests for the other drafts as well.
Should probably bundle all the test files and refactor acceptance into a reusable test that can be loaded in draft4-acceptance.t, draft6-acceptance.t and draft7-acceptance.t.
I have recently taken over maintainance of Test::JSON::Schema::Acceptance, and am renovating it with the intention of bringing it into the JSON-Validator distribution with updated tests across all drafts.
I've now added t/draft[467]-acceptance.t
which optionally use Test::JSON::Schema::Acceptance. There are some tests marked as TODO though. A quick summary:
refRemote.json
tests. I've created #224 as a follow up for that.So since other issues exists, I'm going to close this one.
Sidenote: Annoying that the old refs aren't removed when I force push to a branch.
Thanks a lot @jhthorsen!
I have recently found out about language-agnostic JSON schema test suite. It think they would be beneficial to json-validator both for regression testing and test-driven development.