/[Frey]/trunk/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 /trunk/t/90-frey-server.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 131 - (show annotations)
Tue Jul 15 13:45:33 2008 UTC (15 years, 9 months ago) by dpavlin
File MIME type: application/x-troff
File size: 751 byte(s)
 r147@eeepy:  dpavlin | 2008-07-15 15:45:37 +0200
 dependencies for deploymnet

1 #!/usr/bin/perl
2 use strict;
3 use warnings;
4
5 use Test::More tests => 11;
6 use lib 'lib';
7
8 BEGIN {
9 use_ok('Frey::Test');
10 use_ok('Test::WWW::Mechanize');
11 }
12
13
14 ok( my $kid_out = Frey::Test->start_server, 'start_server' );
15 ok( my $server = Frey::Test->get_server( $kid_out ), 'get_server' );
16
17 my $mech = Test::WWW::Mechanize->new;
18 $mech->get_ok( $server );
19
20 $mech->content_contains("Frey");
21
22 $mech->get_ok( '/ob/Strix::User' );
23 $mech->content_contains("Email");
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