Skip to content

Create yaml file with test cases #307

Description

@pbiggar

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions