sourCEntral - mobile manpages

pdf

Plack::Test::ExternalServer

NAME

Plack::Test::ExternalServer - Run HTTP tests on external live servers

VERSION

version 0.02

SYNOPSIS

$ PLACK_TEST_IMPL=Plack::Test::ExternalServer \
PLACK_TEST_EXTERNALSERVER_URI=http://myhost.example/myapp/ \
perl my_plack_test.t

DESCRIPTION

This module allows your to run your Plack::Test tests against an external server instead of just against a local application through either mocked HTTP or a locally spawned server.

See Plack::Test on how to write tests that can use this module.

ENVIRONMENT VARIABLES

PLACK_TEST_EXTERNALSERVER_URI

The value of this variable will be used as the base uri for requests to the external server.

SEE ALSO

Plack::Test

Plack::Test::Server

Plack::Test::MockHTTP

AUTHOR

Florian Ragwitz <rafl AT debian DOT org>

CONTRIBUTOR

Karen Etheridge <ether AT cpan DOT org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Florian Ragwitz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

pdf