X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=t%2Fmech.t;h=6a30b18dccb8ae799ceafe42035f79040bb2b1df;hb=refs%2Fheads%2Fgruntmaster;hp=5ea673b0fa10613e38a75b290df91d298d6b52f0;hpb=b7bd0bad53df03baf5dc302ade58bea4f73d0880;p=plack-app-gruntmaster.git 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');