Hi Lars, Caleb, and Chris,
I've taken over maintenance of Test::Spelling. In the upcoming 0.12 I've
added logic to try alternative spellcheckers in this order:
spell
aspell list -l en
ispell -l
hunspell -l
I'm not convinced this is a stellar idea, because each of these programs
is going to want to use its own dictionary, which will have slightly
different lists of words. However, I'm going forward with it because the
developer can trivially force her spellcheck program of choice using
set_spell_cmd (which, when set, will not use the above alternatives at all).
As far as not having a spellchecker installed at all, I completely agree
with Ivan that having end-users run spellcheck tests during CPAN module
installation is wrong. It's a bug in whatever module is using
Test::Spelling - such tests should be guarded by an "if $AUTHOR" check.
That said, I've gone ahead and implemented the skip_all logic if you do
not appear to have a working spellchecker. This only comes into play if
you use all_pod_files_spelling_ok, which is the only function that
actually declares a plan for you. For anyone not using
all_pod_files_spelling_ok, I've added a has_working_spellchecker
function which lets you know whether you should skip your tests.
Shawn