diff options
-rwxr-xr-x | t/00-compile-pm.t | 8 | ||||
-rwxr-xr-x | t/01-compile-pl.t | 8 | ||||
-rwxr-xr-x | t/10-pod-coverage.t | 8 | ||||
-rw-r--r-- | t/20-db.t | 11 |
4 files changed, 35 insertions, 0 deletions
diff --git a/t/00-compile-pm.t b/t/00-compile-pm.t new file mode 100755 index 0000000..2476ab2 --- /dev/null +++ b/t/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/t/01-compile-pl.t b/t/01-compile-pl.t new file mode 100755 index 0000000..f130ac4 --- /dev/null +++ b/t/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/t/10-pod-coverage.t b/t/10-pod-coverage.t new file mode 100755 index 0000000..5fe4faa --- /dev/null +++ b/t/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(); diff --git a/t/20-db.t b/t/20-db.t new file mode 100644 index 0000000..5e70a70 --- /dev/null +++ b/t/20-db.t @@ -0,0 +1,11 @@ +#!/usr/bin/env perl +use strict; +use warnings; +use 5.010; + +use Test::More tests => 2; + +BEGIN { + use_ok('Travel::Status::DE::DeutscheBahn'); +} +require_ok('Travel::Status::DE::DeutscheBahn'); |