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

feature request: multiple testDrivers in lake #6314

Open
kim-em opened this issue Dec 5, 2024 · 2 comments
Open

feature request: multiple testDrivers in lake #6314

kim-em opened this issue Dec 5, 2024 · 2 comments
Assignees
Labels
Lake Lake related issue P-medium We may work on this issue if we find the time

Comments

@kim-em
Copy link
Collaborator

kim-em commented Dec 5, 2024

We've encountered a situation (leanprover-community/aesop#182) where we would really like Aesop's testing framework to both:

  • build a library
  • run an executable

Could we please have testDrivers (plural) to enable this?

@kim-em kim-em added the Lake Lake related issue label Dec 5, 2024
@tydeu
Copy link
Member

tydeu commented Dec 5, 2024

Why not just create a single test driver (executable) that performs both of these actions?

@kim-em
Copy link
Collaborator Author

kim-em commented Dec 5, 2024

Because then I have all the overhead of writing a main function, that calls out to another executable, runs lake on AesopTest, etc. It's also way less obvious to someone reading the lake file what testing actually consists of.

In practice as a workaround in Aesop for now I'm going to handle running the extra executable in CI.

@leanprover-bot leanprover-bot added the P-medium We may work on this issue if we find the time label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lake Lake related issue P-medium We may work on this issue if we find the time
Projects
None yet
Development

No branches or pull requests

3 participants