Module::New::File::PodTest - Module::New::File::PodTest documentation


Module-New documentation Contained in the Module-New distribution.

Index


Code Index:

NAME

Top

Module::New::File::PodTest

DESCRIPTION

Top

a template for a Test::Pod test.

AUTHOR

Top

Kenichi Ishigaki, <ishigaki at cpan.org>

COPYRIGHT AND LICENSE

Top


Module-New documentation Contained in the Module-New distribution.

package Module::New::File::PodTest;

use strict;
use warnings;
use Module::New::File;

file 't/99_pod.t' => content { return <<'EOT';
use strict;
use warnings;
use Test::More;

eval "use Test::Pod 1.18";
plan skip_all => 'Test::Pod 1.18 required' if $@;
plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
all_pod_files_ok();
EOT
};

1;

__END__