-
Notifications
You must be signed in to change notification settings - Fork 213
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
Workspace support for dart test
?
#2279
Comments
Some thoughts:
Seems reasonable to me. This is a command probably more likely used either on CI, or pre-CI, not edit-refresh cycle.
Less concerned, particularly if we do
This is definitely true. I find in my own tests the inability to rely on Platform.currentScript (?) with pkg/test makes it very hard to read relative files on disk, and I'm guessing many many apps (my own included) make assumptions around CWD. If pkg/test exposed some sort of environment variable or |
I like |
I think a general purpose API of some sort is best here, it has been discussed for quite some time without resolution though #110. A |
Thanks, I will leave a comment on that issue. |
We could consider running all tests in the workspace, if running
dart test
from the workspace root.Some high level thoughts:
--recursive
or similar. The workspace root also might have its own tests and otherwise we can't tell the difference between user intents.dart test
from the root not run its tests).Maybe this should be the job of a different tool - like pub 🤣 (but more realistically the dart tool).
The text was updated successfully, but these errors were encountered: