loris has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am doing the following:
#!perl -T use Test::More; eval "use Test::Pod::Coverage 1.04"; plan tests => 1; pod_coverage_ok( "My::Flaky::Module");
The test fails with
# Failed test 'Pod coverage on My::Flaky::Module' # at /usr/local/share/perl5/Test/Pod/Coverage.pm line 133. # My::Flaky::Module: requiring 'My::Flaky::Module' failed
The failure is caused by
use Date::Manip;
in my module - if I comment it out, the test passes. I assume the problem is that Date::Manip doesn't contain any POD, so how can I prevent the test from being applied to the included modules?
Thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Test::Pod:Coverage: excluding 'used' modules
by tobyink (Canon) on Nov 15, 2019 at 13:12 UTC | |
by loris (Hermit) on Nov 15, 2019 at 14:19 UTC | |
by tobyink (Canon) on Nov 15, 2019 at 16:14 UTC | |
by loris (Hermit) on Nov 18, 2019 at 11:00 UTC | |
by tobyink (Canon) on Nov 18, 2019 at 13:01 UTC | |
|