summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpanfile11
-rwxr-xr-xxt/00-compile-pm.t8
-rwxr-xr-xxt/01-compile-pl.t8
-rwxr-xr-xxt/10-pod-coverage.t8
4 files changed, 29 insertions, 6 deletions
diff --git a/cpanfile b/cpanfile
index 24280a9..7722f7f 100644
--- a/cpanfile
+++ b/cpanfile
@@ -12,9 +12,8 @@ requires 'LWP::Protocol::https';
requires 'Travel::Status::DE::HAFAS';
requires 'Travel::Status::DE::HAFAS::Message', '4.19';
-#on test => sub {
-# requires 'File::Slurp';
-# requires 'Test::Compile';
-# requires 'Test::More';
-# requires 'Test::Pod';
-#};
+on test => sub {
+ requires 'Test::Compile';
+ requires 'Test::More';
+ requires 'Test::Pod';
+};
diff --git a/xt/00-compile-pm.t b/xt/00-compile-pm.t
new file mode 100755
index 0000000..2476ab2
--- /dev/null
+++ b/xt/00-compile-pm.t
@@ -0,0 +1,8 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use 5.010;
+use Test::More;
+use Test::Compile;
+
+all_pm_files_ok();
diff --git a/xt/01-compile-pl.t b/xt/01-compile-pl.t
new file mode 100755
index 0000000..f130ac4
--- /dev/null
+++ b/xt/01-compile-pl.t
@@ -0,0 +1,8 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use 5.010;
+use Test::More;
+use Test::Compile;
+
+all_pl_files_ok();
diff --git a/xt/10-pod-coverage.t b/xt/10-pod-coverage.t
new file mode 100755
index 0000000..5fe4faa
--- /dev/null
+++ b/xt/10-pod-coverage.t
@@ -0,0 +1,8 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use 5.010;
+use Test::More;
+use Test::Pod;
+
+all_pod_files_ok();