develooper Front page | perl.module.build | Postings from April 2007

Re: testpodcoverage

From:
Eric Wilhelm
Date:
April 1, 2007 14:07
Subject:
Re: testpodcoverage
Message ID:
200704011406.53733.ewilhelm@cpan.org
Ran across this again while cleaning between my computer's couch 
cushions.  I guess nobody runs `./Build testpodcoverage` until after 
installation?

# 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()  
>doesn't.

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.

Thanks,
Eric
-- 
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
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About