On 12-04-10 05:59 PM, Leon Timmermans wrote: > On Tue, Apr 10, 2012 at 11:52 PM, Mike Doherty <dohe...@cs.dal.ca> wrote: >> I don't see any discouragement in the documentation... and what's wrong >> with use_ok to begin with? > > If it fails, the module may not be loaded, or partially loaded. In > such circumstances, testing the rest of the code can give very > confusing results. It doesn't make sense to continue testing usually.
I typically use_ok(...) or BAIL_OUT. If that's the only way to use use_ok safely, then maybe it should do that for you automatically. -Mike