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

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:

AUTHOR

Jerome Quelin

COPYRIGHT AND LICENSE

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.

2015-06-06 perl v5.20.2