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

Create yaml file with test cases #307

Open
pbiggar opened this issue Oct 14, 2022 · 0 comments
Open

Create yaml file with test cases #307

pbiggar opened this issue Oct 14, 2022 · 0 comments

Comments

@pbiggar
Copy link
Member

pbiggar commented Oct 14, 2022

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.

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

1 participant