Jifty::TestServer::Inline - an inline server for running tests


Jifty documentation Contained in the Jifty distribution.

Index


Code Index:

NAME

Top

Jifty::TestServer::Inline - an inline server for running tests

METHODS

Top

started_ok

Returns the URI for the test server.


Jifty documentation Contained in the Jifty distribution.

package Jifty::TestServer::Inline;
use Any::Moose;
extends 'Jifty::TestServer';
use Test::More;

sub started_ok {
    my $self = shift;
    my $port = $self->port;
    ok(1, "psgi test server ok");
    return "http://localhost:$port";
}

__PACKAGE__->meta->make_immutable;
no Any::Moose;
1;