On Nov 28, 2007, at 02:17, Ovid wrote:
I would like to be able to provide the tests run via 'prove' with
options something like this:
some_variant_of_prove t/*.t --option1 --option2 arg1 arg2
... where those 4 command-line options/arguments would be available
to
*each* of the individual test files in the suite.
Sorry, I just saw this.
What you want is the --exec switch which, I'm embarassed to
realize, is
not documented terribly well. Oops.
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.
Best,
David