ingydotnet / inline-module-pm

2 stars 4 forks source link

Dist::Zilla, InlineModule and PodCoverageTests #33

Open van-de-bugger opened 9 years ago

van-de-bugger commented 9 years ago

I am working on a module with XS part created with Inline, and use Dist::Zilla for packaging. My dist.ini looks like:

...
[InlineModule]
module = Systemd::Daemon
[PodCoverageTests]
...

When I run dzil release, I have release-pod-coverage.t (the test generated by PodCoverageTests) failed because stub module (generated by InlineModule) does not contain any POD:

...
t/release-pod-coverage.t ....... 1/2 
#   Failed test 'Pod coverage on Systemd::Daemon::Inline'
#   at /usr/share/perl5/vendor_perl/Test/Pod/Coverage.pm line 133.
# Systemd::Daemon::Inline: couldn't find pod
# Looks like you failed 1 test of 2.
...

It would be nice if InlineModule generates a stub with some dummy pod to let Pod::Coverage test pass.

Dist::Zilla 5.034 Dist::Zilla::Plugin::InlineModule 0.07 Inline 0.80 Pod::Coverage 0.23

karenetheridge commented 9 years ago

weird, generally the pod tests are happy to skip modules that are entirely devoid of all pod.