6 use DBICTest ':GlobalLock';
8 unless ( DBIx::Class::Optional::Dependencies->req_ok_for ('test_strictures') ) {
9 my $missing = DBIx::Class::Optional::Dependencies->req_missing_for ('test_strictures');
11 ? die ("Failed to load release-testing module requirements: $missing")
12 : plan skip_all => "Test needs: $missing"
21 m/\.(?: pm | pl | t )$ /ix or return;
24 maint/Makefile.PL.inc/.+ # all the maint inc snippets are auto-strictured
26 lib/DBIx/Class/Storage/BlockRunner.pm # Moo undetected
28 t/lib/DBICTest/Util/OverrideRequire.pm # no stictures by design (load order sensitive)
30 lib/DBIx/Class/Storage/DBI/Replicated/Replicant.pm # Moose::Role no longer detected (RT#83433)
32 lib/DBIx/Class/Storage/DBI/Replicated/WithDSN.pm # Moose::Role no longer detected (RT#83433)
34 lib/DBIx/Class/Storage/DBI/Replicated/Balancer.pm # Moose::Role no longer detected (RT#83433)
39 Test::Strict::strict_ok($f);
40 Test::Strict::warnings_ok($f);
42 #Test::Strict::syntax_ok($f) if $f =~ /^ (?: lib )/x;
45 }, (qw(lib t examples maint)) );