Ovid wrote: > --shuffle will shuffle the order in which the tests are run to ensure that > you have no accidental dependency on test order. > > --fast sets and environment variable that can be checked in the test scripts. > For example, if you have a couple of tests that double the time of your test > run and you want a fast check of integrity, you can put this in your code: > > SKIP: { > skip 'Fast Tests', 1 if $ENV{FAST_TESTS}; > ok( really_long_running_function(), '... successfully kills time'); > }
Erm, am I the only one to take Merlyn seriously? http://nntp.x.perl.org/group/perl.qa/1932 Well, that's what google tells me (unsurprisingly, zero people took my PERL_TEST_LONG suggestion seriously). Instead of FAST_TESTS, may I humbly suggest something like PERL_TEST_FAST, the point being that environment variables share the global name space. /-\ http://search.yahoo.com.au - Yahoo! Search - Looking for more? Try the new Yahoo! Search