summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-11-12 17:48:31 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-11-12 17:48:31 +0100
commitfad5b602b85ebd2de076d4de1b00322b762d3315 (patch)
tree5abb2f7a59a1417e506fe7786b3b2d4155185b57
parentb97c6982b6555af87b129d84243c71476032673c (diff)
add author tests
-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();