From: gfx Date: Fri, 25 Sep 2009 07:02:34 +0000 (+0900) Subject: Add pod tests X-Git-Tag: 0.35~24 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2104d773a545891714b80a4c598633bc08c36cb4;p=gitmo%2FMouse.git Add pod tests --- diff --git a/xt/01_pod.t b/xt/01_pod.t new file mode 100644 index 0000000..437887a --- /dev/null +++ b/xt/01_pod.t @@ -0,0 +1,4 @@ +use Test::More; +eval "use Test::Pod 1.00"; +plan skip_all => "Test::Pod 1.00 required for testing POD" if $@; +all_pod_files_ok(); diff --git a/xt/02_pod_spell.t b/xt/02_pod_spell.t new file mode 100644 index 0000000..e774987 --- /dev/null +++ b/xt/02_pod_spell.t @@ -0,0 +1,277 @@ +use strict; +use warnings; +use Test::More; + +eval q{use Test::Spelling}; +plan skip_all => 'Test::Spelling is required for this test' if $@; + +my @stopwords; +for () { + chomp; + push @stopwords, $_ + unless /\A (?: \# | \s* \z)/msx; # skip comments, whitespace +} + +add_stopwords(@stopwords); +set_spell_cmd('aspell list -l en'); +all_pod_files_spelling_ok(); + +__DATA__ +## personal names +Aankhen +Aran +autarch +chansen +chromatic's +Debolaz +Deltac +dexter +doy +ewilhelm +frodwith +Goulah +gphat +groditi +Hardison +jrockway +Kinyon's +Kogman +kolibrie +konobi +Lanyon +lbr +Luehrs +McWhirter +merlyn +mst +nothingmuch +Pearcey +perigrin +phaylon +Prather +Ragwitz +Reis +rafl +rindolf +rlb +Rockway +Roditi +Rolsky +Roszatycki +Roszatycki's +sartak +Sedlacek +Shlomi +SL +stevan +Stevan +SIGNES +tozt +Vilain +wreis +Yuval +Goro +gfx +Yappo +tokuhirom +wu + +## proper names +AOP +CLOS +cpan +CPAN +OCaml +ohloh +SVN +CGI +FastCGI +DateTime + +## Moose +AttributeHelpers +BankAccount +BankAccount's +BinaryTree +BUILDALL +BUILDARGS +CheckingAccount +ClassName +ClassNames +LocalName +RemoteName +MethodName +OwnerClass +AttributeName + +clearers +composable +Debuggable +DEMOLISHALL +hardcode +immutabilization +immutabilize +introspectable +metaclass +Metaclass +METACLASS +metaclass's +metadata +MetaObject +metaprogrammer +metarole +metatraits +mixins +MooseX +MouseX +Num +OtherName +oose +ouse +PosInt +PositiveInt +ro +rw +RoleSummation +Str +TypeContraints + + +## computerese +API +APIs +arity +Baz +canonicalizes +canonicalized +Changelog +codebase +committer +committers +compat +datetimes +dec +definedness +deinitialization +destructor +destructors +destructuring +dev +DWIM +DUCKTYPE +GitHub +hashrefs +hotspots +immutabilize +immutabilized +inline +inlines +invocant +invocant's +irc +IRC +isa +JSON +kv +login +mul +namespace +namespaced +namespaces +namespacing +transformability +redispatch + +# as in required-ness +ness +O'Caml +OO +OOP +ORM +overridable +parameterizable +parameterization +parameterize +parameterized +parameterizes +params +pluggable +prechecking +prepends +pu +rebase +rebased +rebasing +reblesses +refactored +refactoring +rethrows +runtime +serializer +stacktrace +startup +subclassable +subname +subtyping +TODO +unblessed +unexport +UNIMPORTING +Unported +unsets +unsettable +utils +whitelist +Whitelist +workflow + +## other jargon +bey +gey + +## neologisms +breakability +delegatee +featureful +hackery +hacktern +wrappee + +## compound +# half-assed +assed +# role-ish, Ruby-ish, medium-to-large-ish +ish +# kool-aid +kool +# pre-5.10 +pre +# vice versa +versa +lookup +# co-maint +maint + +## slang +C'mon +might've +Nuff +steenkin + +## things that should be in the dictionary, but are not +attribute's +declaratively +everybody's +everyone's +human's +indices +initializers +newfound +reimplements +reinitializes +specializer + +## misspelt on purpose +emali +uniq +