Skip Menu |

This queue is for tickets about the Carp-Diagnostics CPAN distribution.

Report information
The Basics
Id: 31914
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Carp-Diagnostics

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

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



Subject: spell checking in the test suite considered harmful
Carp-Diagnostics checks the spelling of the POD in a test file. That's a valuable idea to do on the developer's box but not very likely to succeed on the user's, is it? How many have 'spell' not installed? And if they have it installed, is their language configured for English? And even then, how many have added "Conway" to their dictionaries? Carp-Diagnostics has only three fails at http://cpantesters.perl.org/show/Carp-Diagnostics.html. This is due to the fact that the dependency on Test-Dependencies prohibits sending reports. Test-Dependencies has close to 100% fails (see ticket #31906). You cannot change that but be prepared when T:D is fixed and get rid of the spell check or make it more tolerant against failures. Best regards,
All the points you wrote above have nothing to do with Carp::Diagnostic but Test::Spelling which should fail graciously. Fortunately, the 'Documentation::PodSpelling' policy of Perl::Critic does just that. Carp::Diagnostic now uses it instead for Pod::Spelling. Which language is the default on the test platform is an interesting point and I'll forward it to the policy writer.