Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: How to specify tests dependencies with Makefile.PL?

by OlegG (Monk)
on Jan 03, 2012 at 12:19 UTC ( [id://946050]=note: print w/replies, xml ) Need Help??


in reply to Re: How to specify tests dependencies with Makefile.PL?
in thread How to specify tests dependencies with Makefile.PL?

>What test_requires option; where is that documented?

I found it on perlmonks :)
  • Comment on Re^2: How to specify tests dependencies with Makefile.PL?

Replies are listed 'Best First'.
Re^3: How to specify tests dependencies with Makefile.PL?
by jhourcle (Prior) on Jan 03, 2012 at 16:15 UTC

    With it being in META_MERGE, it's a sign that it's just there to be used by some other module that reads the meta files. The only module that I know of that uses test_requires is Module::Install, but I've never actually used it, so I don't know all of its intricacies (eg, if you need to hide stuff in META_MERGE)

    Of course, if you dig through the Module::Install::API documentation, you'll find the following notes:

    As of this writing, test_requires is just an alias for build_requires, but this may change in the future.

    The values set by build_requires and test_requires are passed to ExtUtils::MakeMaker as a BUILD_REQUIRES attribute, which may fall back to PREREQ_PM if your ExtUtils::MakeMaker is not new enough.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-25 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found