[Jifty-commit] r3036 - in jifty/trunk: t

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Mar 20 10:38:45 EDT 2007


Author: sterling
Date: Tue Mar 20 10:38:43 2007
New Revision: 3036

Added:
   jifty/trunk/t/01-test-mechanize.t
Modified:
   jifty/trunk/   (props changed)

Log:
 r4122 at riddle:  andrew | 2007-03-20 09:31:17 -0500
 Added a basic test stub for Jifty::Test::WWW::Mechanize.


Added: jifty/trunk/t/01-test-mechanize.t
==============================================================================
--- (empty file)
+++ jifty/trunk/t/01-test-mechanize.t	Tue Mar 20 10:38:43 2007
@@ -0,0 +1,18 @@
+use warnings;
+use strict;
+
+use Jifty::Test tests => 6;
+
+use_ok('Jifty::Test::WWW::Mechanize');
+
+my $server = Jifty::Test->make_server;
+my $url = $server->started_ok;
+
+my $mech = Jifty::Test::WWW::Mechanize->new;
+ok($mech, 'contructed Jifty::Test::WWW::Mechanize');
+isa_ok($mech, 'Jifty::Test::WWW::Mechanize');
+isa_ok($mech, 'Test::WWW::Mechanize');
+isa_ok($mech, 'WWW::Mechanize');
+
+# XXX TODO need more tests to make sure that our mech can connect
+# and do meaningful tests on a Jifty server


More information about the Jifty-commit mailing list