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};