Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Add optional modules to TEST_REQUIRES?

by jcb (Parson)
on Nov 21, 2019 at 23:49 UTC ( [id://11109024]=note: print w/replies, xml ) Need Help??


in reply to Add optional modules to TEST_REQUIRES?

The build processes for Perl modules are driven by Perl scripts and CPAN test smokers are supposed to set the environment variable AUTOMATED_TESTING. The simple answer is to add the extra modules to TEST_REQUIRES iff $ENV{AUTOMATED_TESTING} is set.

Replies are listed 'Best First'.
Re^2: Add optional modules to TEST_REQUIRES?
by Anonymous Monk on Nov 22, 2019 at 02:18 UTC

    Hi

    cpan testers test cpan modules :)

    perl smokers test builds of perl ;)

    AUTOMATED_TESTING is not the time to decide you want to smoke an extra 15k worth of test files/dependencies...

    If OP wants cpantesters to see what happens with an extra 14k worth of dependencies,

    create a Task (replacement for Bundle) module distribution which requires all 14k depends

    But even cpantesters place time limits on testing distributions, so be prepared to adjust

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-19 17:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found