Dist::Zilla::Plugin::Test::PodSpelling - Author tests for POD spelling
version 2.001002
In dist.ini:
dist.ini
[Test::PodSpelling]
or:
[Test::PodSpelling] wordlist = Pod::Wordlist spell_cmd = aspell list stopwords = CPAN stopwords = github stopwords = stopwords stopwords = wordlist
This is an extension of Dist::Zilla::Plugin::InlineFiles, providing the following file:
xt/author/pod-spell.t - a standard Test::Spelling test
The module name of a word list you wish to use that works with Test::Spelling.
Defaults to Pod::Wordlist::hanekomu.
If spell_cmd is set then set_spell_cmd( your_spell_command ); is added to the test file to allow for custom spell check programs.
spell_cmd
set_spell_cmd( your_spell_command );
Defaults to nothing.
If stopwords is set then add_stopwords( <DATA> ) is added to the test file and the words are added after the __DATA__ section.
add_stopwords( <DATA> )
__DATA__
stopwords can appear multiple times, one word per line.
stopwords
Normally no stopwords are added by default, but author names appearing in dist.ini are automatically added as stopwords so you don't have to add them manually just because they might appear in the AUTHORS section of the generated POD document.
AUTHORS
Randy Stauner
providing initial tests
Please report any bugs or feature requests on the bugtracker website https://github.com/xenoterracide/Dist-Zilla-Plugin-Test-PodSpelling/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Caleb Cushing <xenoterracide@gmail.com>
Marcel Gruenauer <marcel@cpan.org>
Harley Pig <harleypig@gmail.com>
This software is Copyright (c) 2011 by Caleb Cushing.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Dist::Zilla::Plugin::Test::PodSpelling, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::Test::PodSpelling
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Test::PodSpelling
For more information on module installation, please visit the detailed CPAN module installation guide.