Test::Pod::Coverage::TrustMe - Test Pod coverage
use Test::Pod::Coverage::TrustMe; all_pod_coverage_ok();
Tests that all of the functions or methods provided by a package have documentation. Drop in replacement for Test::Pod::Coverage, but with additional features. Uses Pod::Coverage::TrustMe to check coverage by default.
Tests the coverage of the $module given. Options specified will be passed along to the constructor of Pod::Coverage::TrustMe. A default test message will be used if not provided.
$module
A special options of coverage_class can be used to specify an alternative class to use for calculating coverage. This option will not be passed along to the class constructor.
coverage_class
Tests coverage for all modules found. This will set a test plan, so it should not be used in scripts doing other tests. Alternatively, it can be run in its own subtest.
Accepts the same options as "pod_coverage_ok", in addition to a dirs option to specify an array reference of directories to search for modules. The "all_modules" function will be used to search these directories. Note that the modules must still be loadable using a require. This module will not automatically add the specified directories to @INC.
dirs
Finds all modules in the given directories. If no directories are provided, the lib, blib/arch, and blib/lib directories will be searched, but only if they are found in @INC.
lib
blib/arch
blib/lib
See Pod::Coverage::TrustMe for authors.
See Pod::Coverage::TrustMe for the copyright and license.
To install Pod::Coverage::TrustMe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Coverage::TrustMe
CPAN shell
perl -MCPAN -e shell install Pod::Coverage::TrustMe
For more information on module installation, please visit the detailed CPAN module installation guide.