Skip to content

Commit f04d0d0

Browse files
committed
[25] Add an "Optional Tests" section to the README
1 parent d17e1ba commit f04d0d0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

+33
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,39 @@ widely used, while draft-03 is long since deprecated.
6565
If you see anything missing from the current supported drafts, or incorrect
6666
on any draft still accepting bug fixes, please file an issue or submit a PR.
6767

68+
Optional Tests
69+
--------------
70+
71+
Tests in the `optional/` directory test optional validation behavior. Validators
72+
only need to execute tests for implemented features.
73+
74+
There are different sets of optional features for each draft. They are
75+
summarized below.
76+
77+
### Draft 2019-09
78+
79+
1. Arbitrary-precision number support
80+
2. Encoded content in a string
81+
3. ECMA 262 regex quirks
82+
4. References to unknown keywords
83+
5. Numbers having zero-valued fractional parts are integers
84+
6. All the defined "format" values
85+
86+
### Draft 07
87+
88+
1. Arbitrary-precision number support
89+
2. Encoded content in a string
90+
3. ECMA 262 regex quirks
91+
4. Numbers having zero-valued fractional parts are integers
92+
5. All the "format" values
93+
94+
### Drafts 06, 04, and 03
95+
96+
1. Arbitrary-precision number support
97+
2. ECMA 262 regex quirks
98+
3. Numbers having zero-valued fractional parts are integers
99+
4. All the "format" values
100+
68101
Who Uses the Test Suite
69102
-----------------------
70103

0 commit comments

Comments
 (0)