Amon2

 view release on metacpan or  search on metacpan

eg/apps/DeepNamespace/t/01_root.t  view on Meta::CPAN

use strict;
use warnings;
use Plack::Test;
use Plack::Util;
use Test::More;

my $app = Plack::Util::load_psgi 'DeepNamespace.psgi';
test_psgi
    app => $app,
    client => sub {
        my $cb = shift;
        my $req = HTTP::Request->new(GET => 'http://localhost/');
        my $res = $cb->($req);
        is $res->code, 200;
        diag $res->content if $res->code != 200;
    };

done_testing;



( run in 1.049 second using v1.01-cache-2.11-cpan-fe3c2283af0 )