Use skip_all or diag for missing RDBMS test dependencies
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / 02pod.t
CommitLineData
a04e5e2c 1#!perl
2
3use strict;
4use warnings;
5
a78e3fed 6use Test::More;
7
a04e5e2c 8BEGIN {
9 use DBIx::Class::Schema::Loader::Optional::Dependencies ();
10 if (DBIx::Class::Schema::Loader::Optional::Dependencies->req_ok_for('test_pod')) {
11 Test::Pod->import;
12 }
13 else {
14 plan skip_all => 'Tests needs ' . DBIx::Class::Schema::Loader::Optional::Dependencies->req_missing_for('test_pod')
15 }
16}
a78e3fed 17
18all_pod_files_ok();
a04e5e2c 19
20# vim:tw=0 sw=4 et sts=4: