summaryrefslogtreecommitdiff
path: root/xt
diff options
context:
space:
mode:
authorThomas Klausner <domm@cpan.org>2008-11-28 08:48:15 +0100
committerThomas Klausner <domm@cpan.org>2008-11-28 08:48:15 +0100
commit0f348867e502f1b52b26dd2ccbce76f767aac177 (patch)
tree354c6191bc5fd6b0a1260a22b352d1c7a57ace1d /xt
downloadSimple-OpenID-0f348867e502f1b52b26dd2ccbce76f767aac177.tar.gz
Simple-OpenID-0f348867e502f1b52b26dd2ccbce76f767aac177.tar.bz2
Simple-OpenID-0f348867e502f1b52b26dd2ccbce76f767aac177.zip
create repo skeleton using Module::Setup
* module-setup --flavour domm PAUSE::OpenID
Diffstat (limited to 'xt')
-rw-r--r--xt/01_podspell.t10
-rw-r--r--xt/02_perlcritic.t8
-rw-r--r--xt/03_pod.t4
-rw-r--r--xt/04_podcoverage.t8
-rw-r--r--xt/perlcriticrc2
5 files changed, 32 insertions, 0 deletions
diff --git a/xt/01_podspell.t b/xt/01_podspell.t
new file mode 100644
index 0000000..90c65fd
--- /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__
+Thomas Klausner
+domm {at} cpan.org
+PAUSE::OpenID
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/04_podcoverage.t b/xt/04_podcoverage.t
new file mode 100644
index 0000000..f8fd37a
--- /dev/null
+++ b/xt/04_podcoverage.t
@@ -0,0 +1,8 @@
+use strict;
+use warnings;
+use Test::More;
+
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
+
+all_pod_coverage_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