Test POD from source files#60
Open
salva wants to merge 2 commits into
Open
Conversation
There was a problem hiding this comment.
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.tto runall_pod_filesagainstlib/. - Add
t/2_pods.ttoMANIFESTso 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.
| 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) ) ); |
Owner
Author
There was a problem hiding this comment.
Fixed in commit 7038bd6 by adding use warnings; to t/2_pods.t. Re-ran perl -Ilib t/2_pods.t.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Change the POD test to validate source files under
libinstead of generated/stale files underblib.Changes
all_pod_filesagainstlib.MANIFEST.Fixes #51.
Testing
perl -Ilib t/2_pods.t