On Jan 22, 2009, at 1:27 PM, Eric Wilhelm wrote:

I personally use no_plan only because I can't be bothered to manually
count things and don't want to assume that the number of tests run on
*my* computer is somehow a universal constant.


I'm glad you find no_plan useful.  Many others do as well.

I use plans consistently, and have written a policy in Perl::Critic::Bangs that checks for no_plan (I think that's where I put it) and flags it as an error.

The assumptions you're talking about are not assumptions. They are well-worn tenets of TAP and Perl testing that many people use and rely on.

xoa

--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance



Reply via email to