projects
/
gruntmaster-page.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e046c73
)
Do not run t/mech.t if AUTHOR_TESTING is false
author
Marius Gavrilescu
<marius@ieval.ro>
Fri, 28 Feb 2014 21:58:04 +0000
(23:58 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Fri, 28 Feb 2014 21:58:04 +0000
(23:58 +0200)
t/mech.t
patch
|
blob
|
blame
|
history
diff --git
a/t/mech.t
b/t/mech.t
index 5ea673b0fa10613e38a75b290df91d298d6b52f0..6a30b18dccb8ae799ceafe42035f79040bb2b1df 100644
(file)
--- 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');
This page took
0.010664 seconds
and
4
git commands to generate.