File: perlcritic.t

package info (click to toggle)
libtest-mock-cmd-perl 0.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 176 kB
  • sloc: perl: 166; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
#!perl -T

use Test::More;
plan skip_all => 'Critic tests are only run in RELEASE_TESTING mode.' unless $ENV{'RELEASE_TESTING'};

eval 'use Test::Perl::Critic';
plan skip_all => 'Test::Perl::Critic required for testing PBP compliance' if $@;
Test::Perl::Critic::all_critic_ok();