NAME
Froody::Server::Test
SYNOPSIS
DESCRIPTION
METHODS
- client( 'Froody::Service', 'Froody::Service', .. )
-
Starts a standalone Froody server, implementing the passed service classes, and returns a Froody::Client object that will talk to the server, for local testing of implementations. The server will be stopped on script exit.
- start
-
Starts the Test server with a list of configuration details as specified by the
config
method of Froody::Dispatch. Returns the pid of the started process, or 0 if it happens to be the child process. This will only start the server once, without callingstop
first. - endpoint
-
Returns the endpoint for the Test server
- client
-
Returns a
Froody::Dispatch
based client that points to the test server. As a side-effect, it will start up the test server if it has not already been started.
BUGS
None known.
Please report any bugs you find via the CPAN RT system. http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Froody
AUTHOR
Copyright Fotango 2005. All rights reserved.
Please see the main Froody documentation for details of who has worked on this project.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.