Eric Wilhelm wrote:
# from Adam Kennedy
# on Friday 18 January 2008 00:23:

Eric Wilhelm wrote:
This is not a command-line
conditional bail, but rather "the module won't even load for some
reason and thus testing anything else is pointless".
...
Well, possibly.

The bail outs you'd keep long term are in big test suites where you
have tests that run early in the order (assuming non-shuffle) that
suffer a failure that violates the integrity of the test suite
itself.

For example, if your compile test can't compile your mail module, then running the rest of the test suite is normally pointless.

Well, yes. That's basically what I said, but I was trying to generalize to things other than mail modules ;-)

Typo... s/mail/main/ :)

I'm not sure why BAIL_OUT wouldn't be the appropriate thing in that case.

Adam K

Reply via email to