pokki has asked for the wisdom of the Perl Monks concerning the following question:
Hello dearest Monks,
At $work we use Dist::Zilla for all distribution management tasks. This mostly works, but I have issues with POD coverage tests.
First, I cannot find out how to specify a different Pod::Coverage subclass, e.g. Pod::Coverage::CountParents. The dzil plugin uses Pod::Coverage::TrustPod, presumably because that's how RJBS does it, and I can't find a way to change it. Have I missed something or should I file a feature request?
This is secondary, but it seems to me that just *running* the POD coverage tests is rather hard too. In my own non-dzil distributions, I would just run
prove xt/pod-coverage.tWith dzil, I have found only the two following methods:
dzil test --releasewhich also runs the whole test suite, whereas I'm just trying to see if I have finally finished updating the doc or if I missed a method somewhere
RELEASE_TESTING=1 dzil run prove t/release-pod-coverage.twhich forces me to build the distribution once beforehand to check that the POD coverage test file is where I think it is
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Convincing Dist::Zilla to use a different Pod::Coverage class
by Corion (Patriarch) on Dec 15, 2014 at 14:52 UTC | |
by pokki (Monk) on Dec 15, 2014 at 16:35 UTC |