develooper Front page | perl.qa | Postings from November 2007

Re: Providing command-line arguments to tests run via 'prove'

Thread Previous | Thread Next
From:
Andy Armstrong
Date:
November 29, 2007 16:56
Subject:
Re: Providing command-line arguments to tests run via 'prove'
Message ID:
A44766A9-3D0F-4DEF-A4D7-0EBDD50FB615@hexten.net
On 30 Nov 2007, at 00:51, chromatic wrote:
>> $ prove -rb :: gargoyle :: --state=hot,save,all :: splendour :: t/ 
>> spog.t
>
> Y'know, at some point I think I'll just write my own wrapper around
> TAP::Harness, with attractive members of the appropriate gender, and
> blackjack, and an amusement park.
>
> That is, there *may* be a point here where cramming too much into  
> prove is
> getting confusing.  At some point, we all have to write some Perl.


The state stuff is useful I think. Passing args to tests is more  
marginal and I certainly don't believe it's a big enough deal to  
warrant the amount of debate it's attracted.

I'm going to go with '::'. If anyone dislikes it enough, as you say,   
they can write their own tool.

-- 
Andy Armstrong, Hexten





Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About