NAME
Test::Perl::Critic::Git - Test module to run perl critic on changed git files
VERSION
Version 0.000103
SUBROUTINES/METHODS
critic_on_changed_ok
Run perl critic on changed files and and raises errors, or even not :-D
SYNOPSIS
eval "use Test::Perl::Critic::Git";
plan skip_all => "Test::Perl::Critic::Git required for testing perl critic" if $@;
Test::Perl::Critic::Git->import({
-severity => 'brutal',
-profile => File::Spec->catfile($Bin, 'critic', 'profilerc'),
...
});
critic_on_changed_ok([
'.',
...
]);
DIAGNOSTICS
DEPENDENCIES
Internal usage
Git::Diff,Perl::Critic,Test::Builder, Perl::Critic::Utils,Perl::Critic::Violation
INCOMPATIBILITIES
BUGS AND LIMITATIONS
A list of current bugs and issues can be found at the CPAN site
https://gitlab.com/mziescha/test-perl-critic-git/issues
To report a new bug or problem, use the link on this page.
DESCRIPTION
Test module to run perl critic on changed git files
CONFIGURATION AND ENVIRONMENT
configurable by import sub
AUTHOR
Mario Zieschang, <mziescha at cpan.org>