-
Notifications
You must be signed in to change notification settings - Fork 463
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
Allowing adding testRunner = true
to a lean_lib
in lakefile.toml
.
#4142
Comments
Advantages of this approach:
Disadvantages:
|
Noting that |
Note that Batteries has |
I've created an issue for this at #4168. |
It’s also the natural idiom I have been using for all my little libraries. |
github-merge-queue bot
pushed a commit
that referenced
this issue
May 24, 2024
Extends the functionality of `lake test` and adds a parallel command in `lake lint`. * Rename `@[test_runner]` / `testRunner` to `@[test_driver]` / `testDriver`. The old names are kept as deprecated aliases. * Extend help page for `lake test` and adds one for `lake check-test`. * Add `lake lint` and its parallel tag `@[lint_driver]` , setting `lintDriver`, and checker `lake check-lint`. * Add support for specifying test / lint drivers from dependencies. * Add `testDriverArgs` / `lintDriverArgs` for fixing additional arguments to the invocation of a driver script or executable. * Add support for library test drivers (but not library lint drivers). * `lake check-test` / `lake check-lint` only load the package (without dependencies), not the whole workspace. Closes #4116. Closes #4121. Closes #4142.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Aesop uses a library
AesopTest
as its test suite. It would be nice to have a way to telllake test
about this!(This is better, I think, than the "pile of lean files + custom exe test runner" approach.)
See zulip discussion.
The text was updated successfully, but these errors were encountered: