Skip Menu |
 

This queue is for tickets about the Dancer2-Plugin-Res CPAN distribution.

Report information
The Basics
Id: 117991
Status: resolved
Priority: 0/
Queue: Dancer2-Plugin-Res

People
Owner: MANWAR [...] cpan.org
Requestors: DBOOK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.06
Fixed in: 0.07



Subject: Metadata/pod tests should be author tests
Download (untitled) / with headers
text/plain 831b
This distribution contains several test files which test the packaging and documentation of the distribution, which are normally author-side tests which are unnecessary to test on installation, and lead to spurious failures which are unrelated to the functionality of the distribution. This includes: manifest.t, meta-json.t, meta-yml.t, and pod.t. They can either be moved to the standard xt/author/ directory where they would be run manually when authoring, or a small skip line can be added near the top of the file so it only runs with the AUTHOR_TESTING env variable set: plan skip_all => 'AUTHOR_TESTING required for this test' unless $ENV{AUTHOR_TESTING}; Or to prevent further "use" statements from running for installers: use if !$ENV{AUTHOR_TESTING}, 'Test::More', skip_all => 'AUTHOR_TESTING required for this test';
Download (untitled) / with headers
text/plain 136b
Hi @DBOOK, Thanks for raising the issue. I completely agree with you. I will get get that updated asap. Best Regards, Mohammad S Anwar
Resolved :-)


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.