From f06598163e56880bfe2004262adf59f7474c687e Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Fri, 28 Feb 2014 23:58:04 +0200 Subject: [PATCH] Do not run t/mech.t if AUTHOR_TESTING is false --- t/mech.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'); -- 2.30.2