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

Define schema of test case data JSON #43

Closed
echeran opened this issue Feb 6, 2023 · 2 comments
Closed

Define schema of test case data JSON #43

echeran opened this issue Feb 6, 2023 · 2 comments

Comments

@echeran
Copy link
Collaborator

echeran commented Feb 6, 2023

Some options for defining a schema:

  • JSON Schema
  • Protobuf

JSON Schema is a natural first choice. Also, it would take more effort to deal with Protobuf (perhaps too prohibitive in statically typed languages, even if possible in dynamic ones).

Only need to have a single tool to use JSON Schema since purpose is to validate once the JSON test data cases generated by the test generation tool.

@sven-oly
Copy link
Collaborator

PR#101 defines schema for test data and test results. It's not yet integrated into the workflow.

@sven-oly
Copy link
Collaborator

This is now implemented. It runs in the generate script, checking schemas, test data, and test output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants