Skip to content

What if we could have multiple example files? #395

@petertseng

Description

@petertseng

When reviewing #393 I realized I wish that we could test that multiple signatures would be accepted by the test suite. But of course we have to pick a certain signature in our example file... or do we?

What about a crazy idea - what if we supported having multiple example files?

This is already supported on x-api - any file that has example in its name will be excluded, so we could have Example2.hs, Example3.hs, etc.

Then we would have to make our .travis.yml support it in a reasonable way.

The idea is that Travis CI would test each example file individually (separately from the other examples) and makes sure that the test suite passes for each.

Potential use cases I can think of:

However, I hope that this doesn't make our tests take too long to run.

Is this idea worth it? Should I try it out to see what happens?

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