-
Notifications
You must be signed in to change notification settings - Fork 18
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
[Question] Does this support passing individual test files/directories? #24
Comments
Hello! Could you better describe your folder architecture? I'm not sure I understand how your project looks like |
@rrousselGit we have a standard Flutter app folder layout.
The
The |
I don't think melos supports both having a root pubspec and a packages folder simultaneously But I'm sure it could be adapted to do so |
We're not using melos, though. |
Spec does for you. |
Ah, ok |
It does support this, even Melos repo itself is setup like this 🤔 |
As the default format - aka without a melos.yaml? |
Ah no it does not, easy change though by adding another glob here: https://github.com/invertase/melos/blob/main/packages/melos/lib/src/workspace_configs.dart#L516-L522 |
I tried running my tests by simply calling
spec
in the root folder and it only picked up tests in apackages/test
folder and ignored the ones in the maintest
folder.When I pass individual test files as I would with
flutter_test
as influtter test test/path/to_test.dart
, Spec does not find the tests and runs nothing.Is using
melos
in this case required or is there an option I have not yet found?The text was updated successfully, but these errors were encountered: