On 4 Apr 2007, at 13:42, Philippe Bruhat (BooK) wrote:
Would it make sense to patch Test::Harness (and Test::Harness::Strap)
so that _command_line() would be able to create a command-line with
parameters?

Thoughts, anyone?

It sounds like a sensible idea to me. It'd probably make more sense to target TAP::Parser / TAP::Harness.

If you're running more than one test script with runtests / prove you'll presumably be sending the same arguments to all of them. So it might make sense to think about a standard(ish) vocabulary for args - so that:

 runtests t/*.t --select regression,docs

Would select only regression and documentation tests. That's just an example plucked out of the ether of course - it wouldn't /have/ to work like that.

More generally you might want to investigate TAP::Parser|Harness for your 'wrapper around prove' work.

--
Andy Armstrong, hexten.net

Reply via email to