develooper Front page | | Postings from April 2007

Re: testpodcoverage

Eric Wilhelm
April 1, 2007 14:07
Re: testpodcoverage
Message ID:
Ran across this again while cleaning between my computer's couch 
cushions.  I guess nobody runs `./Build testpodcoverage` until after 

# from Ken Williams on Wednesday 10 January 2007 08:57 pm:

>I think the problem may be that while Test::Pod::Coverage::all_modules
>() looks for things in blib/, Test::Pod::Coverage::pod_coverage_ok()  

Ok, I'm including blib/lib in local @INC now as a workaround.

Andy, is this a bug in Test::Pod::Coverage?  It looks like it finds the 
files in lib/, but I think we want to test against the ones in blib/lib 
in case there is some generated code.  While this is what the typical 
pod-coverage.t will do, I'm wondering whether the find and test 
directories should both be "blib/lib" and maybe also "blib/arch"
(though I plead ignorance on whether pod shows up in arch and/or whether 
Pod::Coverage needs to be able to see that to gather symbols.)

In short, I've exceeded my digging quota for today, so I'm putting this 
out for whoever wants to ponder it.

But you can never get 3n from n, ever, and if you think you can, please
email me the stock ticker of your company so I can short it.
--Joel Spolsky
--------------------------------------------------- Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About