in reply to Skip tests if/unless $ENV{FOO} is set using Test::More
use Test::More tests => 25; # 25 unconditionally ... ADDITIONAL: { skip "Skipping additional tests; try ENV{ALL_TESTS}\n", ADDITIONAL unless $ENV{ALL_TESTS}; $Test::More::tests += 95; # 95 more tests here ... }
--
[ e d @ h a l l e y . c c ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Skip tests if/unless $ENV{FOO} is set using Test::More
by adrianh (Chancellor) on Apr 29, 2003 at 20:00 UTC | |
by chromatic (Archbishop) on Apr 29, 2003 at 20:56 UTC | |
by adrianh (Chancellor) on Apr 29, 2003 at 21:23 UTC |