diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-04-21 21:11:02 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-04-21 21:11:02 +0200 |
| commit | 792d8d7f77f7ea8b37f9149f7d1e16589cb0ab74 (patch) | |
| tree | d3e8303a5186bf696da8207feaa3f0d6fe1ae7a1 /xt | |
| download | dancer-session-psgi-792d8d7f77f7ea8b37f9149f7d1e16589cb0ab74.tar.gz | |
initial commit
Diffstat (limited to 'xt')
| -rw-r--r-- | xt/01_podspell.t | 10 | ||||
| -rw-r--r-- | xt/02_perlcritic.t | 8 | ||||
| -rw-r--r-- | xt/03_pod.t | 4 | ||||
| -rw-r--r-- | xt/perlcriticrc | 2 |
4 files changed, 24 insertions, 0 deletions
diff --git a/xt/01_podspell.t b/xt/01_podspell.t new file mode 100644 index 0000000..7287f97 --- /dev/null +++ b/xt/01_podspell.t @@ -0,0 +1,10 @@ +use Test::More; +eval q{ use Test::Spelling }; +plan skip_all => "Test::Spelling is not installed." if $@; +add_stopwords(map { split /[\s\:\-]/ } <DATA>); +$ENV{LANG} = 'C'; +all_pod_files_spelling_ok('lib'); +__DATA__ +franck cuny +franck@lumberjaph.net +Dancer::Session::PSGI diff --git a/xt/02_perlcritic.t b/xt/02_perlcritic.t new file mode 100644 index 0000000..b977df8 --- /dev/null +++ b/xt/02_perlcritic.t @@ -0,0 +1,8 @@ +use strict; +use Test::More; +eval { + require Test::Perl::Critic; + Test::Perl::Critic->import( -profile => 'xt/perlcriticrc'); +}; +plan skip_all => "Test::Perl::Critic is not installed." if $@; +all_critic_ok('lib'); diff --git a/xt/03_pod.t b/xt/03_pod.t new file mode 100644 index 0000000..437887a --- /dev/null +++ b/xt/03_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/perlcriticrc b/xt/perlcriticrc new file mode 100644 index 0000000..fa96144 --- /dev/null +++ b/xt/perlcriticrc @@ -0,0 +1,2 @@ +[TestingAndDebugging::ProhibitNoStrict] +allow=refs |
