Security Advisories (2)
CPANSA-Plack-2015-0202 (2015-02-02)

Fixed a possible directory traversal with Plack::App::File on Win32.

CPANSA-Plack-2014-0801 (2014-08-01)

Plack::App::File would previously strip trailing slashes off provided paths. This in combination with the common pattern of serving files with Plack::Middleware::Static could allow an attacker to bypass a whitelist of generated files

NAME

Plack::Test::Suite - Test suite for Plack handlers

SYNOPSIS

use Test::More;
use Plack::Test::Suite;
Plack::Test::Suite->run_server_tests('Your::Handler');
done_testing;

DESCRIPTION

Plack::Test::Suite is a test suite to test a new PSGI server implementation. It automatically loads a new handler environment and uses LWP to send HTTP requests to the local server to make sure your handler implements the PSGI specification correctly.

Note that the handler name doesn't include the Plack::Handler:: prefix, i.e. if you have a new Plack handler Plack::Handler::Foo, your test script would look like:

Plack::Test::Suite->run_server_tests('Foo');

AUTHOR

Tokuhiro Matsuno

Tatsuhiko Miyagawa

Kazuho Oku