NAME

Catalyst::Test - Test Catalyst applications

SYNOPSIS

# Tests
use Catalyst::Test 'TestApp';
request('index.html');
get('index.html');

# Request
perl -MCatalyst::Test=MyApp -e1 index.html

# Server
perl -MCatalyst::Test=MyApp -e1 3000

DESCRIPTION

Test Catalyst applications.

METHODS

get

Returns the content.

my $content = get('foo/bar?test=1');

request

Returns a HTTP::Response object.

my $res =request('foo/bar?test=1');

server

Starts a testserver.

Catalyst::Test::server(3000);

SEE ALSO

Catalyst.

AUTHOR

Sebastian Riedel, sri@cpan.org

COPYRIGHT

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.