diff options
-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(); |