[BUG] --state used when it shouldn't be

Andy Armstrong andy at hexten.net
Fri Jan 4 13:03:26 UTC 2008


On 4 Jan 2008, at 10:37, Andy Armstrong wrote:
> I'd like to avoid making prove /much/ more complex. It's already
> experiencing slight bloat. Er, dunno. Hmm.


OK, how about a *little* more bloat...

prove <absolutely whatever> --only t/these-tests

Whatever tests are scheduled by the other options are filtered by -- 
only. So while your .proverc or an alias might mean that

$ prove

or

$ my-prove-alias

runs all the tests you can still do

$ prove --only t/the-fast-ones

or

$ my-prove-alias --only t/the-fast-ones

I'm slightly concerned about adding layer on layer of logic to select  
the tests that are run but I'd hope that if we can find a sensible way  
to explain it all in the doc it won't be too confusing.

-- 
Andy Armstrong, Hexten






More information about the tapx-dev mailing list