-
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
"Test may not be filtered when --dir is enabled" #137
Comments
Hey @billychow68, Can you send me a little more info. An error message or your dir structure would suffice. I currently cannot recreate the issue. Here is my output - I am able to run commander with
|
Hello @dylanhitt,
Run Commander with --dir flag:
Run Commander with both, --dir and --verbose, flags in that order:
I just learned that if I reverse the order of the flags it works.
Minor bug: noticed it prints "Test suite failed, use --verbose for more detailed output" even though I ran it with --verbose? |
The |
@SimonBaeumer I think this can be closed. As it will be addressed in #77. I can add a check to not print |
Added a draft for the filter implementation. Closes this issue because of #77 as @dylanhitt mentioned above. |
It seems I cannot run my tests with both --dir and --verbose flags, otherwise, I get "Test may not be filtered when --dir is enabled.". What does that error message mean?
I see the code that returns that error message in commander/pkg/app/test_command.go, but since I'm new to this project, that block of code doesn't make sense to me.
The current workaround for me is to use --verbose without --dir calling each test suite individually in a shell script. This loses the aggregated test results.
Are there other options or workarounds?
The text was updated successfully, but these errors were encountered: