Test::Builder 0.80_01 breaks Moose 0.57 tests

Ovid on 2008-09-08T10:50:54

In the developer release of Test::Simple, Test::Builder has been altered to die if you have any arguments after 'no_plan'. This means that some previously passing tests will fail. In fact, there are two test programs in Moose 0.57 which have this and thus fail to pass:

use Test::More no_plan => 1;

I've recommended that we warn instead of croak as I don't know how widespread this problem is (I'd just fix it, but I don't have external Subversion access at work).

I expect we'll fix this, but for the time being, please don't use 'no_plan => $plan' in your tests.


Why such strictness?

Stevan on 2008-09-09T02:49:09

Honestly, the fact that is still in the released version of Moose is a mistake, something that got overlooked in the release engineering. However, I regularly use "no_plan => 1" during development, is it really so wrong?

Oh well, I suspect "no_plan => ()" will still work just fine?

- Stevan