in reply to How would I make Test::Harness fail-fast?

Test::Harness does have fail and fast via prove. See perldoc prove to get a better idea of what you can do. Here's an example where I ran the tests in the t directory of Math::Pari source:

prove -v --state=failed,fast,save /my/Desktop/Math-Pari/Math-Pari-2.010800/t

--state - asks prove to remember the state of previous runs
failed - runs only the tests that failed on the last run
fast - runs the tests in fastest to slowest order
save - saves the state on exit
-v - means verbose

If you would like to add a timer, then

prove -v --state=failed,fast,save -p --timer

Update: added "fast"

Replies are listed 'Best First'.
Re^2: How would I make Test::Harness fail-fast?
by dekimsey (Sexton) on Jun 01, 2009 at 02:11 UTC

    As I understand it "fast-fail" would be that the entire process aborts prematurely at the first sign of failure. In the case of the testing it'd mean that the entire test suite stops at the first failed test.

    This is the behavior I am looking for.

    Danny.
      I understand. I suggested prove because it was the closest thing to fail-fast that I could think of.