NAME

Dist::Zilla::Plugin::Test::Software::Policies - Tests to check your code against best practices

VERSION

version 0.001

SYNOPSIS

In your dist.ini:

DESCRIPTION

This Dist::Zilla plugin creates author test files for use during the test and release runs of dzil. Examples of these files: xt/author/policy_contributing.t and xt/author/policy_code_of_conduct.t.

These tests will ensure that the file in question, e.g. CODE_OF_CONDUCT.md, is in the distribution, and is up to date and matches with the information in the dist.ini file.

To use this, make the changes to dist.ini above and run one of the following:

dzil test
dzil release
[Test::Software::Policies]
exclude_policy = CodeOfConduct

ATTRIBUTES

include_policy

include_policy

filepath_template

The file name of the test files to generate. Defaults to 'xt/author/policy_{{ $policy }}.t' as in xt/author/policy_contributing.t.

Allowed characters: [A-Za-z0-9-_./{}$]

AUTHOR

Mikko Koivunalho <mikkoi@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2025 by Mikko Koivunalho.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.