NAME
Test::HTTP::Router - Route Testing
SYNOPSIS
use Test::More;
use Test::HTTP::Router;
use HTTP::Router;
my $router = HTTP::Router->new;
$router->add_route('/' => (
conditions => { method => 'GET' },
params => { controller => 'Root', action => 'index' },
));
match_ok $router, '/', { method => 'GET' };
params_ok $router, '/', { method => 'GET' }, { controller => 'Root', action => 'index' };