Eric Wilhelm wrote:
# from David Cantrell
Let us assume that I write a module that, if you have a particular
module installed will do some extra stuff. This is very common.
...
Skipping tests because you correctly identify that the optional module
isn't available is, of course, counted as passing.
Test::Pod is *not* optional to PERL_AUTHOR_TESTING. If your intent is
to test the pod (here, I am taking PERL_AUTHOR_TESTING to imply that
we're trying to prevent bad pod), you must have the module that tests
it.
That is, to test the pod, you have to test the pod.
To put it another way, the pod is not tested unless the pod tests have
been run.
If the pod tests didn't get run, the pod hasn't been tested.
A pod test which skips due to 'no Test::Pod' has not tested the pod.
To test the pod, you must run the pod tests.
Seeing that you obviously think I'm an idiot, there's probably not much
point continuing.
--
David Cantrell