Debian Codegraph @

xt/critic.t

raw symbols SCIP
1 use strict;
2 use warnings;
3 use Test::More;
4 use File::Spec;
5
6 # plan( skip_all => 'Author test. Set TEST_AUTHOR to a true value to run.' )
7 # unless $ENV{TEST_AUTHOR};
8
9 eval { require Test::Perl::Critic; };
10 plan( skip_all => ' Test::Perl::Critic required to criticise code ' ) if $@;
11
12 my $rcfile = File::Spec->catfile( 'xt', 'perlcriticrc' );
13 Test::Perl::Critic->import( -profile => $rcfile, -severity => 3 );
14 all_critic_ok();
15