test: add usage of jsonschema to validate the testme.json file and get more understandable errors. - #405
Open
svalat wants to merge 2 commits into
Open
test: add usage of jsonschema to validate the testme.json file and get more understandable errors.#405svalat wants to merge 2 commits into
svalat wants to merge 2 commits into
Conversation
…t more understandable errors.
svalat
force-pushed
the
feature/testme-json-schema
branch
from
August 28, 2026 08:59
80b947e to
21b5358
Compare
glesur
reviewed
Aug 28, 2026
glesur
left a comment
Contributor
There was a problem hiding this comment.
Would it be possible to validate the json file as a pre-commit action? at the moment, no externally-triggered action can launch _validateNaming, while I believe this could be useful on a systematic basis.
…he error messages of test.py + make it faster to start.
Collaborator
Author
|
Done.
Note: it is triggered only when there are changes in Note: there is also a change in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds format validation for the
testme.jsonfiles about the test suite to get more understandable errors in case of invalid format, wrong values....It is based on
jsonschemaa standard way to validate JSON / YAML files : https://json-schema.org/.Example of error : invalid value
Example of error : wrong property name