[Jifty-commit] r4360 - in jifty/trunk: t/TestApp/t

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Nov 2 14:48:09 EDT 2007


Author: sartak
Date: Fri Nov  2 14:48:06 2007
New Revision: 4360

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/Makefile.PL
   jifty/trunk/t/TestApp/t/18-test-www-declare.t

Log:
 r44550 at onn:  sartak | 2007-11-02 14:47:40 -0400
 Make Test::WWW::Declare an optional dep for now


Modified: jifty/trunk/Makefile.PL
==============================================================================
--- jifty/trunk/Makefile.PL	(original)
+++ jifty/trunk/Makefile.PL	Fri Nov  2 14:48:06 2007
@@ -74,7 +74,6 @@
 requires('Test::LongString');
 requires('Test::More' => 0.62 ),
 requires('Test::Pod::Coverage'),
-requires('Test::WWW::Declare'),
 requires('Test::WWW::Mechanize' => 1.04 ),
 requires('Test::WWW::Selenium'),
 requires('WWW::Mechanize' => 1.30 ),
@@ -113,6 +112,7 @@
         recommends('Test::MockModule' => '0.05'),
         recommends('Test::MockObject' => '1.07'),
         recommends('Module::Refresh' => '0.09'),
+        recommends('Test::WWW::Declare' => '0.01'),
     ],
     'Development of the jifty framework' => [
         -default => 0,

Modified: jifty/trunk/t/TestApp/t/18-test-www-declare.t
==============================================================================
--- jifty/trunk/t/TestApp/t/18-test-www-declare.t	(original)
+++ jifty/trunk/t/TestApp/t/18-test-www-declare.t	Fri Nov  2 14:48:06 2007
@@ -4,6 +4,13 @@
 
 use lib 't/lib';
 use Jifty::SubTest;
+use Test::More;
+
+BEGIN {
+    unless (eval { require Test::WWW::Declare }) {
+        plan skip_all => "Test::WWW::Declare isn't installed";
+    }
+}
 
 use Jifty::Test::WWW::Declare tests => 2;
 


More information about the Jifty-commit mailing list