Abstract classes and Pod::Coverage

Posted by Ken Williams on Stack Overflow See other posts from Stack Overflow or by Ken Williams
Published on 2010-12-26T21:34:47Z Indexed on 2010/12/26 21:54 UTC
Read the original article Hit count: 247

Filed under:
|
|
|

I've recently started 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?

© Stack Overflow or respective owner

Related posts about perl

Related posts about code-coverage