On 11 Jan 2008, at 18:32, Eric Wilhelm wrote:
And I don't want to hack Test::More - I want this as a new feature in
the "real" Test::Builder, so anything build on Test::Builder gets
this behavior.
Can it just be in the harness?
I'd have thought so.
HARNESS_BAIL_ON_FAIL => Stop the whole run on the first failure
And perhaps for completeness:
HARNESS_SKIP_ON_FAIL => Stop the failing test program on first failure
I'm not sure the second has merit. As Ovid says you probably wouldn't
want that to be global. I guess with a really failtastic test suite it
gives you a quick overview of which tests have problems.
--
Andy Armstrong, Hexten