Dist::Zilla::Plugin::Test::Perl::Critic - Tests to check your code against best practices
version 3.002
In your dist.ini:
[Test::Perl::Critic]
critic_config = perlcritic.rc ; default / relative to project root
This will provide a xt/author/critic.t file for use during the "test" and "release" calls of dzil
. To use this, make the changes to dist.ini above and run one of the following:
dzil test
dzil release
During these runs, xt/author/critic.t will use Test::Perl::Critic to run Perl::Critic against your code and by report findings.
The file name of the test to generate. Defaults to xt/author/critic.t.
This plugin accepts the critic_config
option, which s Specifies your own config file for Perl::Critic. It defaults to perlcritic.rc
, relative to the project root. If the file does not exist, Perl::Critic will use its defaults.
The option can also be configured using the profile
alias.
If configured, overrides the -verbose
option to Perl::Critic.
Bugs may be submitted through the RT bug tracker (or bug-Dist-Zilla-Plugin-Test-Perl-Critic@rt.cpan.org).
There is also an irc channel available for users of this distribution, at #distzilla
on irc.perl.org
.
Jerome Quelin
Jérôme Quelin <jquelin@gmail.com>
Karen Etheridge <ether@cpan.org>
Graham Knop <haarg@haarg.org>
Kent Fredric <kentfredric@gmail.com>
Olivier Mengué <dolmen@cpan.org>
Gryphon Shafer <gryphon@goldenguru.com>
Stephen R. Scaffidi <stephen@scaffidi.net>
Mike Doherty <doherty@cs.dal.ca>
This software is copyright (c) 2009 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.