| Dist::Zilla::Plugin::Test::Perl::Critic(3pm) | User Contributed Perl Documentation | Dist::Zilla::Plugin::Test::Perl::Critic(3pm) |
Dist::Zilla::Plugin::Test::Perl::Critic - Tests to check your code against best practices
version 3.004
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.
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.
Can be specified to use a file finder to select the files to check, rather than checking all files.
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>.
Jerome Quelin
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 |