logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Florian Ragwitz <rafl@debian.org>

Contributor

       Karen Etheridge <ether@cpan.org>

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.

Name

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

See Also

       Plack::Test

       Plack::Test::Server

       Plack::Test::MockHTTP

Synopsis

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

Version

       version 0.02

See Also