Skip to content
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

Add schema validation tests to schemacode #1037

Open
tsalo opened this issue Mar 22, 2022 · 1 comment
Open

Add schema validation tests to schemacode #1037

tsalo opened this issue Mar 22, 2022 · 1 comment
Labels
schema Issues related to the YAML schema representation of the specification. Patch version release.

Comments

@tsalo
Copy link
Member

tsalo commented Mar 22, 2022

I'd like to add a few tests to schemacode to ensure that the schema is "valid". We should probably define rules for the schema here to ensure that they make sense.

One test should check that all objects referred to in the rules portion of the schema are actually defined in the objects portion of the schema.

@tsalo tsalo added the schema Issues related to the YAML schema representation of the specification. Patch version release. label Mar 22, 2022
@tsalo
Copy link
Member Author

tsalo commented Apr 4, 2022

Another test could check that the fields in each object definition are all allowed based on the object type, per #1048.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
schema Issues related to the YAML schema representation of the specification. Patch version release.
Projects
No open projects
Development

No branches or pull requests

1 participant