-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Allow filtering of specific tests #213
Comments
Do you mean selecting the test while in bacon, or in the command line ? If it's at the CLI, then you can specify the test after
|
Optimally I would love to be able to select it in bacon, but specifying it at the CLI is also perfectly fine. I just had no idea I could do it! Is it documented anywhere? If not, I can look at creating a docs PR if you'd like :) |
This could maybe be a command to just run the failing test(s). I'll create an issue for that.
It's more or less explained here: https://dystroy.org/bacon/cookbook/#variable-arguments |
Also thanks @GeeWee for having told me about the cargo watch author announcement. |
Sounds like you have a strong opinion on how the docs update should be done, so I'll leave it to you :) |
This issue is based on the recent announcement that cargo-watch is going on life support and the recommendation to switch to bacon.
I currently use both cargo-watch and bacon - but I only use cargo-watch for one case anymore really, and that is re-running a specific test in a loop. Often I have a library and I just want to run one test until it's fixed, and not all the others. Currently I can't seem to find any support for this in
bacon
, apart from perhaps defining an entirely new job, which seems heavy-weight.Would you consider adding a feature to allow passing filters to e.g. a
test
job, or does that functionality already exist and I just haven't been able to find the documentation for it?The text was updated successfully, but these errors were encountered: