Last I checked, these tests were guarded with an environmental variable.
I'm in the process of transferring this to a new maintainer; I'll ensure he
is aware of the problem.
On Thu, Sep 3, 2015, 4:41 PM Karen Etheridge via RT <
bug-Reddit-Client@rt.cpan.org> wrote:
Show quoted text> Queue: Reddit-Client
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=106857 >
>
> On 2015-09-03 12:12:37, SREZIC wrote:
> > Tests fail if Test::Pod::Coverage is installed:
> >
> > # Failed test 'Pod coverage on Reddit::Client'
> > # at /usr/perl5.22.0p/lib/site_perl/5.22.0/Test/Pod/Coverage.pm line
> 133.
> > # Coverage for Reddit::Client is 84.2%, with 6 naked subroutines:
> > # authenticate
> > # authorize
> > # get_permalink
> > # get_token
> > # is_logged_in
> > # send_message
> >
> > # Failed test 'Pod coverage on Reddit::Client::Request'
> > # at /usr/perl5.22.0p/lib/site_perl/5.22.0/Test/Pod/Coverage.pm line
> 133.
> > # Coverage for Reddit::Client::Request is 80.0%, with 1 naked subroutine:
> > # token_request
> > # Looks like you failed 2 tests of 8.
> > t/pod-coverage.t ..
> > Dubious, test returned 2 (wstat 512, 0x200)
> > Failed 2/8 subtests
>
>
> Please don't allow pod tests to run for normal user installs. Either move
> them to xt/, or guarded with something like:
>
> plan skip_all => "These tests are for authors only!" unless
> $ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING};
>
--
-Jeff
#----------------------------------------------------------------------
---------
# Old programmers don't die; they just parse on...
#----------------------------------------------------------------------
---------