diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-12 17:48:31 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-12 17:48:31 +0100 |
commit | fad5b602b85ebd2de076d4de1b00322b762d3315 (patch) | |
tree | 5abb2f7a59a1417e506fe7786b3b2d4155185b57 | |
parent | b97c6982b6555af87b129d84243c71476032673c (diff) |
add author tests
-rw-r--r-- | cpanfile | 11 | ||||
-rwxr-xr-x | xt/00-compile-pm.t | 8 | ||||
-rwxr-xr-x | xt/01-compile-pl.t | 8 | ||||
-rwxr-xr-x | xt/10-pod-coverage.t | 8 |
4 files changed, 29 insertions, 6 deletions
@@ -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(); |