Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by lachoy (Parson)
on Apr 29, 2003 at 23:37 UTC ( [id://254147]=note: print w/replies, xml ) Need Help??


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

This is pretty timely for me -- I've recently been setting up an environment and writing tests for the next version of OpenInteract. Most of the tests are fairly simple, but they just don't work outside of a running application environment. And it takes a little while to setup that environment -- about 10-20 totally unoptimized seconds right now.

I guess I had the unrecognized assumption that running the full test suite was a good thing and most people -- that is, the default for whatever tests I write -- wouldn't mind running them.

I'll have to mull this over for a while... I see the point but I'm also greedy with the mass of testbeds out there available to test on. Like adrianh said, it's one of the powerful (but underrecognized) benefits of CPAN and the infrastructure built up around it.

Chris
M-x auto-bs-mode

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-03-29 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found