On 2015-12-04 00:31:04, SREZIC wrote:
Show quoted text> The tests of the 0.06 tarball fail if Test::Pod::Coverage is installed:
>
> # Failed test 'Pod coverage on WebService::Instagram'
> # at /usr/perl5.23.5p/lib/site_perl/5.23.5/Test/Pod/Coverage.pm line 133.
> # Coverage for WebService::Instagram is 50.0%, with 3 naked subroutines:
> # new
> # set_access_token
> # set_code
> # Looks like you failed 1 test of 1.
> t/pod-coverage.t ..
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/1 subtests
Please don't allow pod, critic or kwalitee tests to run for normal user installs, as they make the installation fail unnecessarily when newer versions of the tester introduce errors that you cannot anticipate. Also spelling tests are dependent on what dictionaries are installed locally, which cannot be predicted in advance.
Either move them to xt/, or guard them with:
plan skip_all => "These tests are for authors only!" unless $ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING};