On 28 Nov 2007, at 20:47, Andy Lester wrote:
On Nov 28, 2007, at 2:44 PM, chromatic wrote:

Could we not add a feature to prove and/or runtests such that, any
arguments after a bare "--" will be passed on to the scripts it runs?
I've often wanted this myself, and --exec seems like overkill to me.

Seconded.


My only request would be that we not overload the meaning of --.

I could easily see, though:

 prove -v t/ --testargs --db=test

which would be less ambiguous than

 prove -v t/ -- --db=test

Agreed. I think the '--' is redundant

My only concern about any of this is that it opens the door for the "I want to pass different arguments to different tests...."


We could just say "you can't" :)

Or rather "here's the tail of @ARGV - make of it what you will".

--
Andy Armstrong, Hexten




Reply via email to