Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Module::Build reccomends build_requires

by mandog (Curate)
on Jan 05, 2009 at 03:09 UTC ( [id://734097]=note: print w/replies, xml ) Need Help??


in reply to Re: Module::Build reccomends build_requires
in thread Module::Build reccomends build_requires

Anony Monk:

It certainly didn't hurt to re-re-read that bit from the man page However "Necessary" is a bit relative. For example Test::Perl::Critic explicitly says it shouldn't be included in distributed tests.

Perhaps, I'm really trying to ask what the standard way to track/document testing dependencies that are not needed/desired for installation but are very nice for development.

Replies are listed 'Best First'.
Re^3: Module::Build reccomends build_requires
by DStaal (Chaplain) on Jan 05, 2009 at 15:07 UTC

    Yeah, it could use a 'build_recommends' and a 'configure_recommends' section. But it sounds like even that isn't what you want, really.

    Personally, I'd say if you really don't expect people to run those tests except when in development, I'd just not put them in the Build.PL or Meta.yml: They aren't part of the user's installation. They are part of your development suite. A programmer can find them in the test code, if they need to see them. (And they'll know to look because you are skipping the tests with a good message. Right?)

    Some people even have an environment variable they check for this case, and don't even try to run the tests if it isn't there. I've never quite gotten that complicated myself...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-03-19 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found