Subject: | test script does not handle dependencies correctly |
Many test runs of this script error with :"Parse errors: Bad plan. You
planned 54 tests but ran 64." You should either:
1.) Change the number of tests to 64 and skip according to the modules
available. (Strategy half-heartedly followed at the moment).
or
2.) Don't declare the number of tests but only when you know what
modules are available.
use Test::More;
....
plan tests => $number_of_expected_tests;