# from Andy Armstrong
# on Thursday 29 November 2007 12:26:

>Eric: I *really* like have all the state selectors in a single switch.
>   Please have a look at it and tell me if you find it awful.

How does an alias play-along with that?  Can I say "--state=save" in the 
alias and --state=hot on the command-line?

That is, how do I set my environment to always save the state and always 
run only the failed tests (unless all the previously failing tests 
pass, in which case continue running the rest to make sure.)

  $ prove
  # ten tests fail, fix some code...

  $ prove
  # ran only the failing tests -- 5 still fail, fix some code...

  $ prove
  # all the failing tests now pass and all the rest still pass

Seems like a typical work-cycle, no?  If so, it should be doable via 
alias or env var.

--Eric
-- 
Issues of control, repair, improvement, cost, or just plain
understandability all come down strongly in favor of open source
solutions to complex problems of any sort.
--Robert G. Brown
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to