Skip to content

Add requirement and stability level to the tests schema #1059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions test/schemas/v0/tests.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@
},
"expErrors": {
"$ref": "#/$defs/expErrors"
},
"reqLevel": {
"$ref": "#/$defs/reqLevel"
},
"status": {
"$ref": "#/$defs/status"
}
}
},
Expand Down Expand Up @@ -167,6 +173,12 @@
"only": {
"type": "boolean",
"description": "Normally not set. A flag to use during development to only run one or more specific tests."
},
"reqLevel": {
"$ref": "#/$defs/reqLevel"
},
"status": {
"$ref": "#/$defs/status"
}
}
},
Expand Down Expand Up @@ -384,6 +396,14 @@
}
}
},
"reqLevel": {
"description": "The required level of support.",
"enum": ["required", "recommended", "optional"]
},
"status": {
"description": "The current stability level.",
"enum": ["stable", "draft"]
},
"anyExp": {
"anyOf": [
{
Expand Down