Created
January 21, 2015 19:09
-
-
Save gilesbowkett/7935bff29eb3e051c7d3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| JSON Schema: draft4 (FAILED) ( subtest failures ) | |
| additionalItems ( subtest failures ) | |
| additionalItems as schema ( AssertionError: Failed 'additional items do not match schema' ) | |
| items is schema, no additionalItems | |
| array of items with no additionalItems ( AssertionError: Failed 'additional items are not permitted' ) | |
| additionalItems as false without items | |
| additionalItems are allowed by default | |
| additionalProperties ( subtest failures ) | |
| additionalProperties being false does not allow other properties ( AssertionError: Failed 'an additional property is invalid' ) | |
| additionalProperties allows a schema which should validate ( AssertionError: Failed 'an additional invalid property is invalid' ) | |
| additionalProperties can exist by itself ( AssertionError: Failed 'an additional invalid property is invalid' ) | |
| additionalProperties are allowed by default | |
| allOf ( subtest failures ) | |
| allOf ( AssertionError: Failed 'mismatch second' ) | |
| allOf with base schema ( AssertionError: Failed 'mismatch base schema' ) | |
| allOf simple types ( AssertionError: Failed 'mismatch one' ) | |
| anyOf ( subtest failures ) | |
| anyOf ( AssertionError: Failed 'neither anyOf valid' ) | |
| anyOf with base schema ( AssertionError: Failed 'both anyOf invalid' ) | |
| default | |
| invalid type for default | |
| invalid string value for default | |
| dependencies ( subtest failures ) | |
| dependencies ( AssertionError: Failed 'missing dependency' ) | |
| multiple dependencies ( AssertionError: Failed 'missing dependency' ) | |
| multiple dependencies subschema ( AssertionError: Failed 'wrong type' ) | |
| enum ( subtest failures ) | |
| simple enum validation | |
| heterogeneous enum validation ( AssertionError: Failed 'one of the enum is valid' ) | |
| enums in properties ( AssertionError: Failed 'missing required property is invalid' ) | |
| items ( subtest failures ) | |
| a schema given for items ( AssertionError: Failed 'wrong type of items' ) | |
| an array of schemas for items ( AssertionError: Failed 'wrong types' ) | |
| maxItems ( subtest failures ) | |
| maxItems validation ( AssertionError: Failed 'too long is invalid' ) | |
| maxLength ( subtest failures ) | |
| maxLength validation ( AssertionError: Failed 'too long is invalid' ) | |
| maxProperties ( subtest failures ) | |
| maxProperties validation ( AssertionError: Failed 'too long is invalid' ) | |
| maximum | |
| maximum validation | |
| exclusiveMaximum validation | |
| minItems ( subtest failures ) | |
| minItems validation ( AssertionError: Failed 'too short is invalid' ) | |
| minLength ( subtest failures ) | |
| minLength validation ( AssertionError: Failed 'too short is invalid' ) | |
| minProperties ( subtest failures ) | |
| minProperties validation ( AssertionError: Failed 'too short is invalid' ) | |
| minimum | |
| minimum validation | |
| exclusiveMinimum validation | |
| multipleOf ( subtest failures ) | |
| by int ( AssertionError: Failed 'int by int fail' ) | |
| by number ( AssertionError: Failed '35 is not multiple of 1.5' ) | |
| by small number ( AssertionError: Failed '0.00751 is not multiple of 0.0001' ) | |
| not ( subtest failures ) | |
| not ( AssertionError: Failed 'disallowed' ) | |
| not multiple types ( AssertionError: Failed 'mismatch' ) | |
| not more complex schema ( AssertionError: Failed 'mismatch' ) | |
| forbidden property ( AssertionError: Failed 'property present' ) | |
| oneOf ( subtest failures ) | |
| oneOf ( AssertionError: Failed 'both oneOf valid' ) | |
| oneOf with base schema ( AssertionError: Failed 'both oneOf valid' ) | |
| optional/bignum ( subtest failures ) | |
| integer ( AssertionError: Failed 'a bignum is an integer' ) | |
| number | |
| integer ( AssertionError: Failed 'a negative bignum is an integer' ) | |
| number | |
| string | |
| integer comparison | |
| float comparison with high precision | |
| integer comparison | |
| float comparison with high precision on negative numbers | |
| optional/format ( subtest failures ) | |
| validation of date-time strings | |
| validation of URIs | |
| validation of e-mail addresses | |
| validation of IP addresses | |
| validation of IPv6 addresses | |
| validation of host names ( AssertionError: Failed 'a host name with a component too long' ) | |
| pattern ( subtest failures ) | |
| pattern validation ( AssertionError: Failed 'ignores non-strings' ) | |
| patternProperties ( subtest failures ) | |
| patternProperties validates properties matching a regex ( AssertionError: Failed 'a single invalid match is invalid' ) | |
| multiple simultaneous patternProperties are validated ( AssertionError: Failed 'an invalid due to one is invalid' ) | |
| regexes are not anchored by default and are case sensitive ( AssertionError: Failed 'recognized members are accounted for' ) | |
| properties ( subtest failures ) | |
| object properties validation ( AssertionError: Failed 'one property invalid is invalid' ) | |
| properties, patternProperties, additionalProperties interaction ( AssertionError: Failed 'property invalidates property' ) | |
| ref ( subtest failures ) | |
| root pointer ref ( AssertionError: Failed 'mismatch' ) | |
| relative pointer ref to object ( AssertionError: Failed 'mismatch' ) | |
| relative pointer ref to array ( AssertionError: Failed 'mismatch array' ) | |
| escaped pointer ref ( AssertionError: Failed 'slash' ) | |
| nested refs ( AssertionError: Failed 'nested ref invalid' ) | |
| required ( subtest failures ) | |
| required validation ( AssertionError: Failed 'non-present required property is invalid' ) | |
| required default validation | |
| type ( subtest failures ) | |
| integer type matches integers ( AssertionError: Failed 'a float is not an integer' ) | |
| number type matches numbers | |
| string type matches strings | |
| object type matches objects | |
| array type matches arrays | |
| boolean type matches booleans | |
| null type matches only the null object ( ReferenceError: name is not defined ) | |
| multiple types can be specified in an array ( AssertionError: Failed 'a float is invalid' ) | |
| Passed: 32 Failed: 49 Errored: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment