NAME

Test::Pod::Coverage::More - Test that the POD of a module says what each sub takes, returns, and how it fails

VERSION

version 0.001

SYNOPSIS

use Test::More;
use Test::Pod::Coverage::More;

pod_coverage_more_ok( 'Pod::Coverage::More', { checks => [qw{arguments returns termination}] } );

done_testing;

DESCRIPTION

Runs the checks of Pod::Coverage::More as tests: one test per module, which fails with one diagnostic line per thing that the POD does not cover.

OPTIONS

Each function takes an optional HASHREF of options. checks is an ARRAYREF of the names of the checks to run, from THE CHECKS of Pod::Coverage::More, and all of them by default. Every other option goes to new of Pod::Coverage, such as trustme and also_private.

FUNCTIONS

pod_coverage_more_ok(MODULE, OPTIONS, NAME)

Runs one test, named NAME or "POD coverage of MODULE": it passes when the POD documents each public sub of MODULE, as Pod::Coverage counts, and each sub that it documents passes the checks that OPTIONS names. A module with no public subs passes, as Test::Pod::Coverage rates it.

MODULE - Str - the name of the module
OPTIONS - HashRef - optional: the options that OPTIONS describes
NAME - Str - optional: the name of the test

Returns true when the test passed.

pod_coverage_more_ok( 'Some::Module', { checks => ['arguments'] }, 'the arguments of Some::Module' );

all_pod_coverage_more_ok(OPTIONS)

Runs pod_coverage_more_ok for each module under blib, or else under lib, as Test::Pod::Coverage finds them, and plans that many tests when nothing planned them yet.

OPTIONS - HashRef - optional: the options that OPTIONS describes, for every module

Returns true when every test passed.

all_pod_coverage_more_ok( { checks => [ 'arguments', 'returns' ] } );

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.