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

Re: Running tests on modules generated by Module::Starter still in /lib directory

by choroba (Cardinal)
on Feb 12, 2017 at 18:22 UTC ( [id://1181844]=note: print w/replies, xml ) Need Help??


in reply to Running tests on modules generated by Module::Starter still in /lib directory

What do you mean by "run tests"?

Probably not the following, right?

cd ~/perl/perl-lib/MyModule prove -l

Adding -v for verbose might be handy, too.

Update: Added the cd .

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^2: Running tests on modules generated by Module::Starter still in /lib directory
by nysus (Parson) on Feb 12, 2017 at 18:27 UTC

    The test files found at MyModule/*.t

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

      man prove |grep '\s\-l'

      ...output...

      -l, --lib Add 'lib' to the path for your tests (- +Ilib).

      Dave

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-03-28 16:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found