table of contents
Dist::Zilla::Plugin::Test::Perl::Critic(3pm) | User Contributed Perl Documentation | Dist::Zilla::Plugin::Test::Perl::Critic(3pm) |
NAME¶
Dist::Zilla::Plugin::Test::Perl::Critic - Tests to check your code against best practices
VERSION¶
version 3.004
SYNOPSIS¶
In your dist.ini:
[Test::Perl::Critic] critic_config = perlcritic.rc ; default / relative to project root
DESCRIPTION¶
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.
OPTIONS¶
filename¶
The file name of the test to generate. Defaults to xt/author/critic.t.
critic_config¶
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.
verbose¶
If configured, overrides the "-verbose" option to Perl::Critic.
files¶
If specified, will be used as the list of files to check. If neither "files" "finder" is specified, Test::Perl::Critic's default behavior of checking all files will be used.
finder¶
Can be specified to use a file finder to select the files to check, rather than checking all files.
SUPPORT¶
Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Test-Perl-Critic> (or bug-Dist-Zilla-Plugin-Test-Perl-Critic@rt.cpan.org <mailto: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" <irc://irc.perl.org/#distzilla>.
AUTHOR¶
Jerome Quelin
CONTRIBUTORS¶
- Karen Etheridge <ether@cpan.org>
- Jérôme Quelin <jquelin@gmail.com>
- 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>
- Alexander Hartmaier <abraxxa@cpan.org>
- Mike Doherty <doherty@cs.dal.ca>
COPYRIGHT AND LICENCE¶
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.
2024-11-16 | perl v5.40.0 |