-n and -r don't compose?
borkdude opened this issue · 2 comments
borkdude commented
If you use the -n option together with the -r option, it seems only the -n option is used.
vemv commented
Hi,
I think now they compose too much :)
If I pass clojure -M:test -n foo-test
it's a reasonable expectation that only that test will be executed. However all other existing tests will also be executed.
There's the specific precedent of lein test :only foo
, which will run only foo
and nothing else, no matter what.
I'm failing to find an "only" semantic in -main
.
Sounds good to reopen? Can also report in isolation.
Current workaround: -n foo -r "aaaaaaaaaaa"
where aaaaaaaaaaa
will intentionally match nothing.