开发者

Abstract classes and Pod::Coverage

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜