On Jan 11, 2008, at 10:09 AM, Ovid wrote:
--- Matisse Enzer <[EMAIL PROTECTED]> wrote:
On Jan 11, 2008, at 8:04 AM, Ovid wrote:
Well, your feature is slightly different in that it calls BAIL_OUT
on
failure and halts the entire test suite.
That's a behavior I have wanted - for large test suites being used
during development for example. I just want to stop the whole test
run at the very first failure.
OK, but this is global behavior and you *don't* want to specify this
in
every single test program.
I agree 100%
BAIL_OUT_ON_FAILURE=1 prove -r t/
Yes, so these would work too:
BAIL_OUT_ON_FAILURE=1 make test
BAIL_OUT_ON_FAILURE=1 ./Build test
although I like BAIL_ON_FAIL better than BAIL_OUT_ON_FAILURE, but I
won't raise a fuss about it.
And then in the custom Test::More's BEGIN block:
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.
-M
-------------------------------------------------------
Matisse Enzer <[EMAIL PROTECTED]>
http://www.matisse.net/ - http://www.eigenstate.net/