Florian Ragwitz > Plack-Test-ExternalServer > Plack::Test::ExternalServer

Download:
Plack-Test-ExternalServer-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

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

VERSION ^

version 0.01

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@debian.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.

syntax highlighting: