Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Does something like Pod::Coverage::Moose exist for Moo?

by tobyink (Abbot)
on Oct 25, 2012 at 00:36 UTC ( #1000740=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Does something like Pod::Coverage::Moose exist for Moo?
in thread Does something like Pod::Coverage::Moose exist for Moo?

You may have missed my point. You don't need to borrow stuff from Pod::Coverage::Moose, because Pod::Coverage::Moose already seems to support Moo classes and roles.

Just use Pod::Coverage::Moose as-is, but put the tests in your xt directory instead of t. That way, MakeMaker (or whatever you're using to package your distribution) should find and run the test while it's building the distribution tarball, but the test will not automatically run on end users' systems.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'


Comment on Re^3: Does something like Pod::Coverage::Moose exist for Moo?
Select or Download Code
Re^4: Does something like Pod::Coverage::Moose exist for Moo?
by jds17 (Pilgrim) on Oct 25, 2012 at 07:50 UTC

    Oh, I really have missed your point. It's the first time I want to publish a module so this packaging question did not turn up before.

    I will try to use Pod::Coverage::Moose and put the author tests in xt. I found a nice description of handling author tests when using Module::Build here: http://elliotlovesperl.com/2009/11/24/explicitly-running-author-tests. Thank you for putting me on the right track!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000740]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2014-07-10 03:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (198 votes), past polls