Test::Perl::Critic 0.07 review
DownloadTest::Perl::Critic is a Perl module use Perl::Critic in test programs. SYNOPSIS use Test::Perl::Critic; critic_ok($file)
|
|
Test::Perl::Critic is a Perl module use Perl::Critic in test programs.
SYNOPSIS
use Test::Perl::Critic;
critic_ok($file); #Test one file
all_critic_ok($dir_1, $dir_2, $dir_N ); #Test all files in several $dirs
all_critic_ok() #Test all files in distro
Test::Perl::Critic wraps the Perl::Critic engine in a convenient subroutine suitable for test programs written using the Test::More framework. This makes it easy to integrate coding-standards enforcement into the build process. For ultimate convenience (at the expense of some flexibility), see the criticism pragma.
Requirements:
Perl
Test::Perl::Critic 0.07 search tags