You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JSON Schema Test Suite [](https://github.com/json-schema-org/JSON-Schema-Test-Suite/actions?query=workflow%3A%22Test+Suite+Sanity+Checking%22)
2
-
======
1
+
# JSON Schema Test Suite [](https://github.com/json-schema-org/JSON-Schema-Test-Suite/actions?query=workflow%3A%22Test+Suite+Sanity+Checking%22)
3
2
4
3
This repository contains a set of JSON objects that implementors of JSON Schema
5
4
validation libraries can use to test their validators.
@@ -9,8 +8,7 @@ It is meant to be language agnostic and should require only a JSON parser.
9
8
The conversion of the JSON objects into tests within your test framework of
10
9
choice is still the job of the validator implementor.
11
10
12
-
Structure of a Test
13
-
-------------------
11
+
## Structure of a Test
14
12
15
13
The tests in this suite are contained in the `tests` directory at the root of
16
14
this repository. Inside that directory is a subdirectory for each draft or
@@ -45,80 +43,76 @@ illustrate the structure of these with an example:
45
43
}
46
44
```
47
45
48
-
In short: a description, a schema under test, and some tests, where each
49
-
test in the `tests` array is an objects with a description of the case
50
-
itself, the instance under test, and a boolean indicating whether it
51
-
should be valid or invalid.
46
+
In short: a description, a schema under test, and some tests, where each test
47
+
in the `tests` array is an objects with a description of the case itself, the
48
+
instance under test, and a boolean indicating whether it should be valid
49
+
or invalid.
52
50
53
-
Test Subdirectories
54
-
-------------------
51
+
## Test Subdirectories
55
52
56
53
There is currently only one subdirectory that may exist within each draft
57
54
directory. This is:
58
55
59
56
1.`optional/`: Contains tests that are considered optional.
60
57
61
-
Coverage
62
-
--------
58
+
## Coverage
63
59
64
-
Drafts 07, 06, 04 and 03 should have full coverage, with drafts 06 and
65
-
07 being considered current and actively supported.
60
+
Drafts 07, 06, 04 and 03 should have full coverage, with drafts 06 and 07 being
61
+
considered current and actively supported.
66
62
67
-
Draft 2019-09 support is under development. Contributions are very
68
-
welcome, especially from implementers as they add support to their own
69
-
implementations.
63
+
Draft 2019-09 support is under development. Contributions are very welcome,
64
+
especially from implementers as they add support to their own implementations.
70
65
71
-
If you see anything missing from the current supported drafts, or incorrect
72
-
on any draft still accepting bug fixes, please file an issue or submit a PR.
66
+
If you see anything missing from the current supported drafts, or incorrect on
67
+
any draft still accepting bug fixes, please file an issue or submit a PR.
If you use it as well, please fork and send a pull request adding yourself to
183
177
the list :).
184
178
185
-
Contributing
186
-
------------
179
+
## Contributing
187
180
188
181
If you see something missing or incorrect, a pull request is most welcome!
189
182
190
-
There are some sanity checks in place for testing the test suite. You
191
-
can run them with `bin/jsonschema_suite check` or `tox`. They will be
192
-
run automatically by [GitHub Actions](https://github.com/json-schema-org/JSON-Schema-Test-Suite/actions?query=workflow%3A%22Test+Suite+Sanity+Checking%22)
183
+
There are some sanity checks in place for testing the test suite. You can run
184
+
them with `bin/jsonschema_suite check` or `tox`. They will be run automatically
185
+
by [GitHub Actions](https://github.com/json-schema-org/JSON-Schema-Test-Suite/actions?query=workflow%3A%22Test+Suite+Sanity+Checking%22)
0 commit comments