Scroll to navigation

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.001

SYNOPSIS

In your dist.ini:

    [Test::Perl::Critic]
    critic_config = perlcritic.rc ; default / relative to project root

DESCRIPTION

This will provide a t/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, t/author/critic.t will use Test::Perl::Critic to run Perl::Critic against your code and by report findings.

This plugin accepts the "critic_config" option, which 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.

This plugin is an extension of Dist::Zilla::Plugin::InlineFiles.

SEE ALSO

You can look for information on this module at:

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 a mailing list available for users of this distribution, at <http://dzil.org/#mailing-list>.

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

  • Jerome Quelin <jquelin@gmail.com>
  • Karen Etheridge <ether@cpan.org>
  • Kent Fredric <kentfredric@gmail.com>
  • Olivier Mengue <dolmen@cpan.org>
  • Stephen R. Scaffidi <stephen@scaffidi.net>
  • Gryphon Shafer <gryphon@goldenguru.com>
  • 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.

2022-12-06 perl v5.36.0