Test for No Plan? Test::NoPlan

I just discovered Test::NoPlan (http://search.cpan.org/~duncs/Test-NoPlan-v0.0.4/lib/Test/NoPlan.pm)

It goes over you test suite to see if you have any no plan statements – very nice and useful.

So I have added the following test (file: t/test_plans.t) to my growing arsenal of distribution tests:

  1. use Test::NoPlan qw/ all_plans_ok /;
  2. all_plans_ok();
Leave a comment

0 Comments.

Leave a Reply


[ Ctrl + Enter ]