--- "Philippe Bruhat (BooK)" <[EMAIL PROTECTED]> wrote: > These parameters are obviously tightly linked to the test script > itself, > but I think it would be nice if prove allowed me to pass arguments to > my test scripts. Naturally, it would be my responsibility, as the > developer of the test script to ensure that the arguments are > compatible > with the test scripts run by prove.
<snip> > 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? Oh, yes, I have some thoughts :) Grab the latest TAP::Parser: svn checkout http://svn.hexten.net/tapx Then all you need to do is create a small Perl program (well, any executable, really) which will run your tests any way you want, including passing arguments to them: runtests --exec ./my_test_driver See the examples/README and the examples/my_exec for an example of how to do this (the particular example included runs tests written in Ruby, Perl, and validates a couple of Web pages). Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/