Documentation
¶
Overview ¶
Package jsonschematestsuite exposes test cases from the official [JSON Schema test suite](github.com/json-schema-org/JSON-Schema-Test-Suite) for use in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Name string `json:"-"`
Groups []*Group // call Read to populate this field
// contains filtered or unexported fields
}
File is a file of test groups from the JSON Schema test suite.
type Group ¶
type Group struct {
Description string
RawSchema json.RawMessage `json:"schema"`
Schema *jsonschema.Schema `json:"-"`
Tests []TestCase
}
Group is a group of test cases from the JSON Schema test suite.
Click to show internal directories.
Click to hide internal directories.