开发者

Abstract classes and Pod::Coverage

开发者 https://www.devze.com 2023-02-01 20:07 出处:网络
I\'ve recently star开发者_开发百科ted to try to use Dist::Zilla for maintaining Path::Class.I added the [PodCoverageTests] plugin, and it\'s reporting some failures in the Path::Class::Entity class, w

I've recently star开发者_开发百科ted to try to use Dist::Zilla for maintaining Path::Class. I added the [PodCoverageTests] plugin, and it's reporting some failures in the Path::Class::Entity class, which is the abstract base class for Path::Class::File and Path::Class::Dir.

What I'd like is some way to tell the testing code that Entity doesn't need docs, but its two derived classes do - even though the methods are only defined in the parent class. Anyone know some way to do that?


Dist::Zilla's standard POD coverage test uses Pod::Coverage::TrustPod.

You should be able to say

=for Pod::Coverage
.

to tell it to assume that everything is documented.

0

精彩评论

暂无评论...
验证码 换一张
取 消