7 use lib "$FindBin::Bin/../lib";
11 BEGIN { $iters = $ENV{CAT_BENCH_ITERS} || 1; }
13 use Test::More tests => 3*$iters;
14 use Catalyst::Test 'TestAppMatchSingleArg';
16 if ( $ENV{CAT_BENCHMARK} ) {
18 Benchmark::timethis( $iters, \&run_tests );
28 is(get('/foo/bar/baz'), 'Path', 'multiple args matched :Path');
29 is(get('/foo'), 'Path Args(1)', 'single arg matched :Path Args(1)');
30 is(get('/foo/bar'), 'Path Args(2)', 'two args matched :Path Args(2)');