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