-
Notifications
You must be signed in to change notification settings - Fork 15
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
Feature request: allow multiple -t
arguments / add a --all
argument
#12
Comments
I wanted something similar and hacked in a solution the other day (https://github.com/veo-jdowner/git-test/tree/working). It is obviously not the right solution but it would be good to get some guidance @mhagger on how you would like it added if you support this feature. In my case, I wanted syntax like,
but the functionality is the important thing. |
Thanks for your comments and the spike implementation! Sorry I haven't been more responsive but I've been very busy lately. I think this is a great idea and it's one that I'd use myself. Let's talk a little bit about the requirements. When multiple tests are specified:
I don't have a preference between As for how to implement it, my first inclination is to make I haven't checked carefully whether this will really work. Can all of the It would be great if somebody wants to work on this. Realistically, I don't expect to have time for it anytime soon. |
Currently it's only possible to run a single test at a time, at least without multiple invocations of git-test. It'd be useful to me to be able to specify multiple tests to run at the same time. I'd see this working like so:
git test run <commit>...
: Runs thedefault
test on the specified commits.git test run -t alpha -t beta <commit>...
: Runs the testsalpha
andbeta
on the specified commits.git test run -t default -t alpha <commit>...
: Runs the testsdefault
andalpha
on the specified commits.git test run --all <commit>...
: Runs all the defined tests, includingdefault
if defined, on the specified commits.There's a small-but-greater-than-zero chance I'll manage a PR myself for this, but given the other projects currently on my plate I don't want to promise anything.
The text was updated successfully, but these errors were encountered: