Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-Spec CPAN distribution.

Report information
The Basics
Id: 118515
Status: resolved
Priority: 0/
Queue: App-Spec

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

Bug Information
Severity: (no value)
Broken in: 0.003_001
Fixed in: 0.004



Subject: pod coverage test fails
With the latest devel version I see the following failure on my smokers: # Failed test 'Pod coverage on App::Spec::Option' # at t/02.pod-cover.t line 6. # Coverage for App::Spec::Option is 50.0%, with 1 naked subroutine: # aliases # Failed test 'Pod coverage on App::Spec::Argument' # at t/02.pod-cover.t line 8. # Coverage for App::Spec::Argument is 14.3%, with 12 naked subroutines: # completion # default # description # enum # filter # multiple # name # required # summary # type # unique # values # Looks like you failed 2 tests of 4. t/02.pod-cover.t ... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests
On 2016-10-26 15:31:56, SREZIC wrote: Show quoted text
> With the latest devel version I see the following failure on my smokers: > > # Failed test 'Pod coverage on App::Spec::Option' > # at t/02.pod-cover.t line 6. > # Coverage for App::Spec::Option is 50.0%, with 1 naked subroutine: > # aliases > > # Failed test 'Pod coverage on App::Spec::Argument' > # at t/02.pod-cover.t line 8. > # Coverage for App::Spec::Argument is 14.3%, with 12 naked subroutines: > # completion > # default > # description > # enum > # filter > # multiple > # name > # required > # summary > # type > # unique > # values > # Looks like you failed 2 tests of 4. > t/02.pod-cover.t ... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/4 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};
On Thu Oct 27 00:31:56 2016, SREZIC wrote: Show quoted text
> With the latest devel version I see the following failure on my smokers: > > # Failed test 'Pod coverage on App::Spec::Option' > # at t/02.pod-cover.t line 6. > # Coverage for App::Spec::Option is 50.0%, with 1 naked subroutine: > ...
Thanks! Which version of Pod::Coverage , Test::Pod::Coverage and Moo do you have installed? I don't get any errors here with 0.23 / 1.10 / 2.002004 I guess at some point something was changed regarding Moo attributes.
On Thu Oct 27 04:10:16 2016, ETHER wrote: Show quoted text
> ... > > 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};
yes, thanks, will do!
On 2016-10-27 14:26:16, TINITA wrote: Show quoted text
> On Thu Oct 27 00:31:56 2016, SREZIC wrote:
> > With the latest devel version I see the following failure on my > > smokers: > > > > # Failed test 'Pod coverage on App::Spec::Option' > > # at t/02.pod-cover.t line 6. > > # Coverage for App::Spec::Option is 50.0%, with 1 naked subroutine: > > ...
> > Thanks! > > Which version of Pod::Coverage , Test::Pod::Coverage and Moo do you > have installed? I don't get any errors here with 0.23 / 1.10 / > 2.002004 > > I guess at some point something was changed regarding Moo attributes.
I can reproduce the problem if Class::XSAccessor is installed.
On Thu Oct 27 21:10:49 2016, SREZIC wrote: Show quoted text
> On 2016-10-27 14:26:16, TINITA wrote:
> > On Thu Oct 27 00:31:56 2016, SREZIC wrote:
> > > With the latest devel version I see the following failure on my > > > smokers: > > > > > > # Failed test 'Pod coverage on App::Spec::Option' > > > # at t/02.pod-cover.t line 6. > > > # Coverage for App::Spec::Option is 50.0%, with 1 naked subroutine: > > > ...
> > > > Thanks! > > > > Which version of Pod::Coverage , Test::Pod::Coverage and Moo do you > > have installed? I don't get any errors here with 0.23 / 1.10 / > > 2.002004 > > > > I guess at some point something was changed regarding Moo attributes.
> > I can reproduce the problem if Class::XSAccessor is installed.
Oh yes, same here, thanks. fixed && pushed