Skip to content

POD test checks blib instead of source files #51

Description

@salva

Summary

t/2_pods.t checks POD under blib rather than source files.

Relevant code: t/2_pods.t:9

all_pod_files_ok( all_pod_files( qw(blib) ) );

Impact

The test depends on build output being present and current. It can miss source POD issues before make, or pass stale blib contents in a dirty tree.

Possible fixes

  1. Check source directories directly.

Use all_pod_files('lib', 'examples', ...) or similar.

  1. Keep checking blib but make the test build-stage-specific.

This is acceptable if the intent is to verify installed/generated files only, but should be explicit.

  1. Move POD checks to author/release tests.

This avoids burdening normal installs with author tooling.

Suggested approach

For source quality, check lib directly. If examples are included in the distribution, include them too or add a separate author test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions