Skip Menu |

This queue is for tickets about the JSON-Assert CPAN distribution.

Report information
The Basics
Id: 122223
Status: resolved
Priority: 0/
Queue: JSON-Assert

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: pod test fails (0.05)
The pod test fails: ... # Failed test 'POD test for blib/lib/JSON/Assert/Changes.pod' # at /opt/perl-5.24.0t/lib/site_perl/5.24.0/Test/Pod.pm line 187. # blib/lib/JSON/Assert/Changes.pod (12): =back doesn't take any parameters, but you said =back =head2 VERSION 0.04, 06 DECEMBER 2016 # Looks like you failed 1 test of 3. t/pod.t ................. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests ... Also there are warnings which don't cause any test failures, but maybe should be addressed: ... Any::Moose is deprecated. Please use Moo instead at /home/cpansand/.cpan/build/2017062509/JSON-Assert-0.05-2/blib/lib/JSON/Assert.pm line 6. Prototype mismatch: sub JSON::Assert::blessed ($) vs none at /home/cpansand/.cpan/build/2017062509/JSON-Assert-0.05-2/blib/lib/JSON/Assert.pm line 8. # Tested JSON::Assert 0.05, Perl 5.024000, /opt/perl-5.24.0t/bin/perl, JSON 2.94 t/00-load.t ............. ok ...
Thanks for the bug report. The issues have now been fixed, and the tests should run successfully: -- Simon t/00-load.t ............. 1/5 # Tested JSON::Assert 0.06, Perl 5.022001, /usr/bin/perl, JSON 2.90 t/00-load.t ............. ok t/01-jpath-count.t ...... ok t/03-matches-strings.t .. ok t/04-matches-regexs.t ... ok t/10-exceptions.t ....... ok t/50-load.t ............. 1/3 # Tested Test::JSON::Compare , Perl 5.022001, /usr/bin/perl, JSON 2.90 t/50-load.t ............. ok t/pod-coverage.t ........ ok t/pod.t ................. ok All tests successful. Files=8, Tests=28, 1 wallclock secs ( 0.04 usr 0.02 sys + 0.61 cusr 0.02 csys = 0.69 CPU)
On 2017-06-25 06:13:06, SREZIC wrote: Show quoted text
> The pod test fails: > > ... > # Failed test 'POD test for blib/lib/JSON/Assert/Changes.pod' > # at /opt/perl-5.24.0t/lib/site_perl/5.24.0/Test/Pod.pm line 187. > # blib/lib/JSON/Assert/Changes.pod (12): =back doesn't take any > parameters, but you said =back =head2 VERSION 0.04, 06 DECEMBER 2016 > # Looks like you failed 1 test of 3. > t/pod.t ................. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/3 subtests > ...
While this test failure is indeed an issue that should be corrected, please don't allow pod, critic, coverage or kwalitee tests to run for normal user installs, as they make the installation fail unnecessarily when newer versions of the tester module introduces errors that you cannot anticipate. Also spelling tests are dependent on what dictionaries are installed locally, and critic tests use all plugins that are installed, neither of which can be predicted in advance. Either move these tests to xt/, or guard them with: plan skip_all => "These tests are for authors only!" unless $ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING};