This divides the test suite run time by three.
=cut
+our $SKIP;
+
BEGIN {
+ return if $SKIP;
+
my %authors;
my $pkgs = Acme::CPANAuthors::Utils::cpan_packages();
BEGIN {
local $^W = 0;
- use_ok( "Acme::CPANAuthors::You're_using" );
+ local $Acme::CPANAuthors::You're_using::SKIP = 1;
+ use_ok( "Acme::CPANAuthors::You're_using" );
}
diag( "Testing Acme::CPANAuthors::You're_using $Acme::CPANAuthors::You're_using::VERSION, Perl $], $^X" );
eval "use Pod::Coverage $min_pc";
plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage" if $@;
-all_pod_coverage_ok( { also_private => [ qw/format_available init prepare create install uninstall/ ] });
+{
+ no warnings 'once';
+ local $Acme::CPANAuthors::You're_using::SKIP = 1;
+ all_pod_coverage_ok();
+}