Commit | Line | Data |
dc4600b2 |
1 | use warnings; |
2 | use strict; |
3 | |
0fe5201a |
4 | use Test::More; |
dc4600b2 |
5 | use lib qw(t/lib); |
6 | use DBICTest; |
7 | |
a109c954 |
8 | require DBIx::Class; |
9 | unless ( DBIx::Class::Optional::Dependencies->req_ok_for ('test_pod') ) { |
10 | my $missing = DBIx::Class::Optional::Dependencies->req_missing_for ('test_pod'); |
20884f55 |
11 | $ENV{RELEASE_TESTING} |
a109c954 |
12 | ? die ("Failed to load release-testing module requirements: $missing") |
13 | : plan skip_all => "Test needs: $missing" |
dc4600b2 |
14 | } |
0fe5201a |
15 | |
47589465 |
16 | Test::Pod::all_pod_files_ok(qw( .generated_pod lib )); |