Dist::Zilla::Plugin::PodCoverageTests - a release test for Pod coverage


Dist-Zilla documentation Contained in the Dist-Zilla distribution.

Index


Code Index:

NAME

Top

Dist::Zilla::Plugin::PodCoverageTests - a release test for Pod coverage

VERSION

Top

version 4.200008

DESCRIPTION

Top

This is an extension of Dist::Zilla::Plugin::InlineFiles, providing the following files:

  xt/release/pod-coverage.t - a standard Test::Pod::Coverage test

This test uses Pod::Coverage::TrustPod to check your Pod coverage. This means that to indicate that some subs should be treated as covered, even if no documentation can be found, you can add:

  =for Pod::Coverage sub_name other_sub this_one_too

AUTHOR

Top

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

Top


Dist-Zilla documentation Contained in the Dist-Zilla distribution.

package Dist::Zilla::Plugin::PodCoverageTests;
BEGIN {
  $Dist::Zilla::Plugin::PodCoverageTests::VERSION = '4.200008';
}
# ABSTRACT: a release test for Pod coverage
use Moose;
extends 'Dist::Zilla::Plugin::InlineFiles';


__PACKAGE__->meta->make_immutable;
no Moose;
1;




__DATA__
___[ xt/release/pod-coverage.t ]___
#!perl

use Test::More;

eval "use Test::Pod::Coverage 1.08";
plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
  if $@;

eval "use Pod::Coverage::TrustPod";
plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
  if $@;

all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });