-
Notifications
You must be signed in to change notification settings - Fork 45
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
Create yaml file with test cases #307
Comments
This was referenced Oct 18, 2022
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nearly every function can be tested via simple input/output. This means that instead of porting all the tests to each repo, we could put all the test data in a yaml file, and use that for tests.
We should pull the test data out of the tablecloth-rescript test files, as that is the most comprehensive at the moment.
We could also make that what we release: a list of functions that are expected and a list of test cases for them.
For implementations, we could write generators to generate test code from the yaml file.
The text was updated successfully, but these errors were encountered: