Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Skip tests if/unless $ENV{FOO} is set using Test::More

by adrianh (Chancellor)
on Apr 29, 2003 at 19:01 UTC ( #254054=note: print w/replies, xml ) Need Help??


in reply to Skip tests if/unless $ENV{FOO} is set using Test::More

I have to admit this is something I'd never do. If there's a test I want it run, otherwise I wouldn't have written it. I'd much rather have somebody wait a few minutes than have a module installed with test failures. That way lies madness :-)

There's also the overhead of printing the test output which schwern has said he'll fix at some point. For modules like M::BI that may be significant.

  • Comment on Re: Skip tests if/unless $ENV{FOO} is set using Test::More

Replies are listed 'Best First'.
Re: Re: Skip tests if/unless $ENV{FOO} is set using Test::More
by PodMaster (Abbot) on Apr 30, 2003 at 08:27 UTC
    Hear hear!


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
    ** The Third rule of perl club is a statement of fact: pod is sexy.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2022-08-18 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?