Add import-time-skip support to OptDeps, switch most tests over to that
[dbsrgits/DBIx-Class.git] / xt / pod.t
CommitLineData
cb551b07 1use DBIx::Class::Optional::Dependencies -skip_all_without => 'test_pod';
2
dc4600b2 3use warnings;
4use strict;
5
0fe5201a 6use Test::More;
dc4600b2 7use lib qw(t/lib);
8use DBICTest;
9
f7ed0ed3 10# this has already been required but leave it here for CPANTS static analysis
11require Test::Pod;
12
95252a8c 13my $generated_pod_dir = 'maint/.Generated_Pod';
14Test::Pod::all_pod_files_ok( 'lib', -d $generated_pod_dir ? $generated_pod_dir : () );