Skip Menu |
 

This queue is for tickets about the DBIx-Class-QueryProfiler CPAN distribution.

Report information
The Basics
Id: 112887
Status: open
Priority: 0/
Queue: DBIx-Class-QueryProfiler

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

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



Subject: t/kwalitee.t fails
Download (untitled) / with headers
text/plain 512b
Test output: These tests should not be running unless AUTHOR_TESTING=1 and/or RELEASE_TESTING=1! # Failed test 'has_license_in_source_file' # at t/kwalitee.t line 3. # Error: Does not have license information in any of its source files # Details: # LICENSE section was not found in the pod. # Remedy: Add =head1 LICENSE and the text of the license to the main module in your code. # Looks like you failed 1 test of 17. t/kwalitee.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/17 subtests
Download (untitled) / with headers
text/plain 1.1k
On 2016-03-09 22:29:18, SREZIC wrote: Show quoted text
> Test output: > > These tests should not be running unless AUTHOR_TESTING=1 and/or > RELEASE_TESTING=1! > > # Failed test 'has_license_in_source_file' > # at t/kwalitee.t line 3. > # Error: Does not have license information in any of its source files > # Details: > # LICENSE section was not found in the pod. > # Remedy: Add =head1 LICENSE and the text of the license to the main > module in your code. > # Looks like you failed 1 test of 17. > t/kwalitee.t ...... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/17 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 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, both of 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};


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.