Skip to content

Test POD from source files#60

Open
salva wants to merge 2 commits into
masterfrom
fix/pod-test-source-files
Open

Test POD from source files#60
salva wants to merge 2 commits into
masterfrom
fix/pod-test-source-files

Conversation

@salva

@salva salva commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Summary

Change the POD test to validate source files under lib instead of generated/stale files under blib.

Changes

  • Run all_pod_files against lib.
  • Add the tracked POD test to MANIFEST.

Fixes #51.

Testing

  • perl -Ilib t/2_pods.t

Copilot AI review requested due to automatic review settings June 4, 2026 11:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the project’s POD validation to check the authoritative source files under lib/ rather than generated build artifacts under blib/, reducing the risk of stale build output hiding documentation issues.

Changes:

  • Switch t/2_pods.t to run all_pod_files against lib/.
  • Add t/2_pods.t to MANIFEST so it’s included in packaged distributions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
t/2_pods.t Updates POD test to validate source lib/ contents instead of blib/.
MANIFEST Ensures the POD test file is included in the distribution manifest.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread t/2_pods.t
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;

all_pod_files_ok( all_pod_files( qw(blib) ) );
all_pod_files_ok( all_pod_files( qw(lib) ) );

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in commit 7038bd6 by adding use warnings; to t/2_pods.t. Re-ran perl -Ilib t/2_pods.t.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

POD test checks blib instead of source files

2 participants