Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Plack::Test::Suite(3) User Contributed Perl DocumentationPlack::Test::Suite(3)

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');

       Developers writing Plack	applications should look at "Plack::Test" for
       testing,	as subclassing "Plack::Handler"	is for developing server
       implementations.

AUTHOR
       Tokuhiro	Matsuno

       Tatsuhiko Miyagawa

       Kazuho Oku

perl v5.24.1			  2015-12-06		 Plack::Test::Suite(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Plack::Test::Suite&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help