App::Prove plugins, options, etc
publiustemp-tapx at yahoo.com
Thu Oct 4 23:57:42 BST 2007
--- Eric Wilhelm <scratchcomputing at gmail.com> wrote:
> >$ prove -MSome::Plugin -MSome::Other::Plugin -D archive_file=foo.txt
> >-D color=yes
> Ow! My eyes, head, and fingers ache just looking at it.
I agree with David that this syntax is very clear and easy to follow.
I agree with Eric that this syntax is painful.
My thoughts: many test suites should run with a standard set of
options. I think that this means we *need* a .proverc which:
1. checks the current directory for .proverc (this allows customization
2. then checks the home directory for .proverc
3. falls back to default behavior
Of course, a switch to ignore .proverc would be necessary.
That will give us the clarity of David's syntax and the ease of use
that Eric would like. That means defining .proverc.
Buy the book - http://www.oreilly.com/catalog/perlhks/
Perl and CGI - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog - http://use.perl.org/~Ovid/journal/
More information about the tapx-dev