Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Setting up a test db with MakeMaker

by tmharish (Friar)
on Feb 23, 2013 at 10:08 UTC ( #1020294=note: print w/ replies, xml ) Need Help??


in reply to Re: Setting up a test db with MakeMaker
in thread Setting up a test db with MakeMaker

what about wrapping it into a module? You can even place it into the t/ directory and just add the following to each .t file: use TestSetup;

Does that work on 5.6?


Comment on Re^2: Setting up a test db with MakeMaker
Re^3: Setting up a test db with MakeMaker
by afoken (Parson) on Feb 23, 2013 at 18:20 UTC
    Does that work on 5.6?

    Why should it not work? Why don't you try it?

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
      Why should it not work?

      Because I assumed that this will require BUILD_REQUIRES to be set and the default ExtUtils::MakeMaker version that shipped with 5.6 dint have it.

      Why don't you try it?

      I did and am yet to get it to work ( even on higher versions ) - Will reply once I find a way to get it to work or I give up, meanwhile - Did you?

      Update: I Managed it with a require 't/tests.pm'. I am not sure that thats what choroba meant though.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2014-09-23 14:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (223 votes), past polls