Wetware-CLI
view release on metacpan or search on metacpan
There is the problem, that since Wetware::CLI::TestSuite.pm is going to be
in blib, it will cause problems for both
t/pod-coverage.t
and the t/00_compile_pm.t strategy of:
use strict;
use warnings;
use Test::Compile;
BEGIN { all_pm_files_ok(); }
If we do not put it in the BEGIN block then we run into the problem
of the INIT {} block for the Test::Class that runs too late, eg:
t/00_compile_pm.t ............. 1/2 Too late to run INIT block at
/usr/local/lib/perl5/site_perl/5.8.7/Wetware/Test/Class.pm line 22.
In the BEGIN Block, we have the problem that it sees
t/00_compile_pm.t ............. 1/2 # Looks like you planned 2 tests but ran 7 extra.
( run in 0.242 second using v1.01-cache-2.11-cpan-4face438c0f )