NAME

Dist::Zilla::Plugin::Test::Pod::Coverage::More - Add an author test that the POD of each module says what each sub takes, returns, and how it fails

VERSION

version 0.002

SYNOPSIS

# The test that the plugin adds, as xt/author/pod-coverage-more.t.
use Test::More;
use Test::Pod::Coverage::More;

all_pod_coverage_more_ok();

DESCRIPTION

Adds xt/author/pod-coverage-more.t to the distribution. The test runs all_pod_coverage_more_ok of Test::Pod::Coverage::More over each module of the build. So it fails for each public sub that the POD does not document, and for each argument, type, return value and way to fail that the POD of a sub leaves out.

It takes the place of [PodCoverageTests], which checks only that the POD names each sub. In a bundle that includes that plugin, such as [@TestingMania], turn it off:

[@TestingMania]
disable = PodCoverageTests

A sub that a =for Pod::Coverage line names counts as documented, as it does for [PodCoverageTests].

With [Blurbs] of Pod::Weaver::Section::Blurbs in weaver.ini, the build writes the POD of each sub from the comment above it, and the test reads that POD.

USAGE

In dist.ini:

[Test::Pod::Coverage::More]

and then run dzil test --author, or dzil test --release, which runs the author tests too.

METHODS

register_prereqs

Registers Test::Pod::Coverage::More as a requirement of development, as Dist::Zilla::Role::PrereqSource asks, at the version of this plugin, which comes in the same distribution.

Returns nothing.

$plugin->register_prereqs;

SEE ALSO

Please see those modules/websites for more information related to this module.

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/teodesian/Pod-Coverage-More/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHORS

Current Maintainers:

  • George S. Baugh <teodesian@cpan.org>

COPYRIGHT AND LICENSE

Copyright (c) 2014-2026 George S. Baugh

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.