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 test schema #209

Merged
merged 4 commits into from
Feb 23, 2024
Merged

Add test schema #209

merged 4 commits into from
Feb 23, 2024

Conversation

johngrimes
Copy link
Collaborator

@johngrimes johngrimes commented Feb 23, 2024

I have added back a JSON schema to define the structure of the tests.

I actually removed the part that defines the content of the view. The reason for this is that I figured this was at odds with having validation tests that verify the behaviour of the validation going on within the test runner implementations. If the test contains invalid views, they will be invalid tests and therefore never be able to be used to test the runners.

I also added a step to the CI workflow to run this automatically.

Resolves #197.

@johngrimes johngrimes added the testing Issues relating to the test suite. label Feb 23, 2024
@Yngwarr
Copy link
Collaborator

Yngwarr commented Feb 23, 2024

Thank you! I've added ajv-cli dependency for the validation step to succeed in CI.

@Yngwarr Yngwarr merged commit 1cbeb9d into master Feb 23, 2024
1 check failed
@Yngwarr Yngwarr deleted the test-schema branch February 23, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Issues relating to the test suite.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bring back the JSON schema
3 participants