X-Git-Url: http://git.ieval.ro/?p=gruntmaster-page.git;a=blobdiff_plain;f=t%2Fmech.t;h=6a30b18dccb8ae799ceafe42035f79040bb2b1df;hp=5ea673b0fa10613e38a75b290df91d298d6b52f0;hb=f06598163e56880bfe2004262adf59f7474c687e;hpb=e046c73abf1f466bcafca06a01a0af2c9e2120c9 diff --git a/t/mech.t b/t/mech.t index 5ea673b..6a30b18 100644 --- a/t/mech.t +++ b/t/mech.t @@ -2,7 +2,11 @@ use strict; use warnings; -use Test::More tests => 5; +use Test::More; +BEGIN { + plan skip_all => '$ENV{AUTHOR_TESTING} is false, skipping tests' unless $ENV{AUTHOR_TESTING}; + plan tests => 5; +} use Test::WWW::Mechanize::PSGI; my $mech = Test::WWW::Mechanize::PSGI->new(app => do 'app.psgi');