Added LONG_TEST environment variable to skip long-running tests
# DBM::Deep Test
##
use strict;
-use Test::More tests => 5;
+use Test::More;
+
+plan skip_all => "You must set \$ENV{LONG_TESTS} to run the long tests"
+ unless $ENV{LONG_TESTS};
+
use Test::Deep;
use t::common qw( new_fh );
+plan tests => 5;
+
use_ok( 'DBM::Deep' );
diag "This test can take up to a minute to run. Please be patient.";
# DBM::Deep Test
##
use strict;
-use Test::More tests => 4;
+use Test::More;
+
+plan skip_all => "You must set \$ENV{LONG_TESTS} to run the long tests"
+ unless $ENV{LONG_TESTS};
+
+plan tests => 4;
use t::common qw( new_fh );
use_ok( 'DBM::Deep' );
# DBM::Deep Test
##
use strict;
-use Test::More tests => 5;
+use Test::More;
+
+plan skip_all => "You must set \$ENV{LONG_TESTS} to run the long tests"
+ unless $ENV{LONG_TESTS};
+
+plan tests => 5;
use t::common qw( new_fh );
diag "This test can take up to a minute to run. Please be patient.";
# DBM::Deep Test
##
use strict;
-use Test::More tests => 3;
+use Test::More;
+
+plan skip_all => "You must set \$ENV{LONG_TESTS} to run the long tests"
+ unless $ENV{LONG_TESTS};
+
+plan tests => 3;
use t::common qw( new_fh );
diag "This test can take up to a minute to run. Please be patient.";