6
if ( not $ENV{TEST_AUTHOR} ) {
7
my $msg = 'Author test. Set $ENV{TEST_AUTHOR} to a true value to run.';
8
plan( skip_all => $msg );
11
if ( ! eval { require Test::Perl::Critic; } ) {
12
my $msg = 'Test::Perl::Critic required to criticise code';
13
plan( skip_all => $msg );
16
my $rcfile = File::Spec->catfile( 't', 'perlcriticrc' );
17
Test::Perl::Critic->import( -profile => $rcfile );