This repo has been archived in favour of https://github.com/karenetheridge/Test-JSON-Schema-Acceptance
relequestual / test-json-schema-acceptance Goto Github PK
View Code? Open in Web Editor NEWWIP You have been warned
WIP You have been warned
This repo has been archived in favour of https://github.com/karenetheridge/Test-JSON-Schema-Acceptance
If we actually get a v3 of JSON Schema, having an integer as the sole argument of the constructor is going to be confusing and surprising. I would expect one of the following
Test::JSON::Schema::Acceptance->new('draft-04');
Test::JSON::Schema::Acceptance->new( version => 'draft-04' );
Test::JSON::Schema::Acceptance->new({ version => 'draft-04' });
Hooray, CPAN Testers is working again!
That means we can see passes and fails at: http://matrix.cpantesters.org/?dist=Test-JSON-Schema-Acceptance+0.0.2
Looks like a lot of them are failing because JSON isn't a declared dependency. (Some pass by chance, because they've already got it installed).
Some of them (before 5.14) have a different problem.
Notes:
There's json-schema, the specification that allows you to define a schema (in json) that you can use to validate json with.
There's the test suite, which came from the same organisation as json-schema, which contains a set of tests (in json) which can be used to confirm that anyone implementing json-schema, does so correctly.
There's JSON::Schema, which is the perl module implemented by someone not from that organisation which implements json-schema the spec.
This module allows other perl modules (for example JSON::Schema) to test that they are json-schema compliant, by running the tests from the official test suite, without having to manually convert them to perl tests
our $draft;
...
sub new {
my $class = shift;
$draft = shift || 4;
return bless {}, $class;
}
...
my $draft_dir = $mod_dir . "/tests/draft$draft/";
Umm....
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.