/[Frey]/branches/zimbardo/t/90-frey-server.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /branches/zimbardo/t/90-frey-server.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1172 - (show annotations)
Sun Jul 5 21:40:16 2009 UTC (14 years, 9 months ago) by dpavlin
File MIME type: application/x-troff
File size: 688 byte(s)
branch for localisation

1 #!/usr/bin/perl
2 use strict;
3 use warnings;
4
5 use Test::More tests => 10;
6 use lib 'lib';
7
8 BEGIN {
9 use_ok('Frey::Test');
10 use_ok('Test::WWW::Mechanize');
11 }
12
13
14 ok( my $url = Frey::Test->start_server, 'start_server' );
15 diag $url;
16
17 my $mech = Test::WWW::Mechanize->new;
18 $mech->get_ok( $url );
19
20 $mech->content_contains("Frey");
21
22 $mech->get_ok( '/ob/Strix::User' );
23 $mech->content_contains("results");
24
25 $mech->get_ok( '/~/Frey::Introspect' );
26 $mech->content_contains("introspect.css");
27
28 #diag $mech->content;
29
30 #$mech->field( email => 'test@example.com' ); # FIXME we mungle field names
31 #$mech->submit;
32
33 #$mech->content_contains('test@example.com');
34
35 ok( Frey::Test->stop_server, 'stop_server' );
36

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26