added spelling author test
Alexander Hartmaier [Fri, 29 Jul 2011 13:50:14 +0000 (15:50 +0200)]
Makefile.PL
t/author/spelling.t [new file with mode: 0644]

index 63a99cd..9b7b1ce 100644 (file)
@@ -88,6 +88,7 @@ author_requires(map {; $_ => 0 } qw(
   Test::NoTabs
   Test::Pod
   Test::Pod::Coverage
+  Test::Spelling
   Pod::Coverage::TrustPod
 ));
 
diff --git a/t/author/spelling.t b/t/author/spelling.t
new file mode 100644 (file)
index 0000000..f503ff5
--- /dev/null
@@ -0,0 +1,20 @@
+use strict;
+use warnings;
+use Test::More;
+use Test::Spelling;
+
+add_stopwords(qw(
+    undef env regex rethrow rethrows stringifies CPAN STDERR SIGCHLD
+    roadmap wishlist refactor refactored runtime pluggable pluggability hoc apis
+    fastcgi nginx IIS middlewares
+    ctx _application MyApp restarter httponly Utils
+    dispatchtype dispatchtypes redispatch redispatching
+    CaptureArgs ChainedParent PathPart PathPrefix
+    BUILDARGS metaclass
+    filename tempname
+    wiki bitmask uri url urls dir hostname http https IP SSL
+));
+set_spell_cmd('aspell list -l en_GB');
+all_pod_files_spelling_ok();
+
+done_testing();