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

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

by Anonymous Monk
on Apr 29, 2003 at 20:09 UTC ( [id://254080]=note: print w/replies, xml ) Need Help??


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

This only helps if everyone uses the same convention. Which means that it needs to be implemented in one important place. Such as within Test::More itself. For instance you can have an environment variable which, if it is set, will run the first 30 tests and then only tests thereafter which are specifically marked as truly being important.

If Schwern objects, tell him that testing is fine and dandy, but you have to walk a practical line between the benefit of running tests, and people's willingness to go through it. Right now a lot of modules are going way over...

  • 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 chromatic (Archbishop) on Apr 29, 2003 at 20:55 UTC

    Why does everyone need to use the same convention? The only requirement is that the default condition is to skip the tests. If you need to run all of the tests, you should probably look in the README file that tells you how to run all of the tests.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-24 22:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found