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');