NAME

Dist::Zilla::Plugin::DBIO::PodCheckerTest - Generate xt/author/pod-checker.t, a Pod::Checker gate on the built POD

VERSION

version 0.900007

DESCRIPTION

Gathers an xt/author/pod-checker.t test that runs Pod::Checker over every module under lib/ and every script under bin/ of the built distribution -- the POD as Pod::Weaver left it, which is what gets installed and what a reader sees. Any Pod::Checker error fails the test; the checker's own messages (file, line, text) are printed as diagnostics.

It exists because a woven module can be broken without any source file looking wrong: a L</name> link whose heading the woven document does not have is an unresolved internal link to Pod::Checker, and nothing else in the build notices it. Test::Pod does not either -- it checks POD syntax, not link targets -- which is why this is a Pod::Checker test and not Dist::Zilla::Plugin::PodSyntaxTests.

Only errors fail the test. Pod::Checker warnings are not reported at all, so a green run stays quiet. A file without any POD is not an error. A run that finds no file to check fails rather than passing on nothing.

[ExtraTests] promotes the file to t/author-pod-checker.t, guarded by AUTHOR_TESTING: it runs under dzil test and dzil release, and is skipped when the distribution is merely installed. It needs nothing beyond core Perl.

AUTHOR

DBIO Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors

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