@@ -12,16 +12,16 @@ choice is still the job of the validator implementor.
12
12
Structure of a Test
13
13
-------------------
14
14
15
- If you're going to use this suite, you need to know how tests are laid out. The
16
- tests are contained in the ` tests ` directory at the root of this repository.
15
+ The tests in this suite are contained in the ` tests ` directory at the
16
+ root of this repository.
17
17
18
18
Inside that directory is a subdirectory for each draft or version of the
19
- schema .
19
+ specification .
20
20
21
- If you look inside the draft directory, there are a number of ` .json ` files,
22
- which logically group a set of test cases together. Often the grouping is by
23
- property under test, but not always, especially within optional test files
24
- (discussed below).
21
+ Inside each draft directory, there are a number of ` .json ` files, which
22
+ logically group a set of test cases together. Often the grouping is by
23
+ property under test, but not always, especially within optional test
24
+ files (discussed below).
25
25
26
26
Inside each ` .json ` file is a single array containing objects. It's easiest to
27
27
illustrate the structure of these with an example:
@@ -45,9 +45,10 @@ illustrate the structure of these with an example:
45
45
}
46
46
```
47
47
48
- So a description, a schema, and some tests, where tests is an array containing
49
- one or more objects with descriptions, data, and a boolean indicating whether
50
- they should be valid or invalid.
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.
51
52
52
53
Coverage
53
54
--------
0 commit comments