summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2009-04-19 15:32:50 +0200
committerdakkar <dakkar@thenautilus.net>2009-04-19 15:32:50 +0200
commit00f684ae9c22a3e777c9155ff43d15d76b8f5305 (patch)
tree02d9d116615fa2e43c99debbf66c9db9683a9327
parentsimplified use-list (diff)
downloadTree-Template-Declare-00f684ae9c22a3e777c9155ff43d15d76b8f5305.tar.gz
Tree-Template-Declare-00f684ae9c22a3e777c9155ff43d15d76b8f5305.tar.bz2
Tree-Template-Declare-00f684ae9c22a3e777c9155ff43d15d76b8f5305.zip
added author tests
-rw-r--r--t/00-author-deps.t6
-rw-r--r--t/00-author-pod-cover.t7
-rw-r--r--t/00-author-pod.t6
3 files changed, 19 insertions, 0 deletions
diff --git a/t/00-author-deps.t b/t/00-author-deps.t
new file mode 100644
index 0000000..8f13b52
--- /dev/null
+++ b/t/00-author-deps.t
@@ -0,0 +1,6 @@
+#!perl
+use Test::Most;
+plan skip_all => "skipping author-only test" unless $ENV{RUN_AUTHOR_TESTS};
+eval "use Test::Dependencies exclude => [qw(Tree::Template::Declare)]";
+
+ok_dependencies();
diff --git a/t/00-author-pod-cover.t b/t/00-author-pod-cover.t
new file mode 100644
index 0000000..9bace3e
--- /dev/null
+++ b/t/00-author-pod-cover.t
@@ -0,0 +1,7 @@
+#!perl
+use Test::Most;
+plan skip_all => "skipping author-only test" unless $ENV{RUN_AUTHOR_TESTS};
+eval "use Test::Pod::Coverage";
+all_pod_coverage_ok({
+ trustme=> [qr(^new_transformer$)],
+});
diff --git a/t/00-author-pod.t b/t/00-author-pod.t
new file mode 100644
index 0000000..5177b0c
--- /dev/null
+++ b/t/00-author-pod.t
@@ -0,0 +1,6 @@
+#!perl
+use Test::Most;
+plan skip_all => "skipping author-only test" unless $ENV{RUN_AUTHOR_TESTS};
+eval "use Test::Pod";
+
+all_pod_files_ok();