5 use lib "$FindBin::Bin/../lib";
9 BEGIN { $iters = $ENV{CAT_BENCH_ITERS} || 1; }
12 use Catalyst::Test 'TestAppMatchSingleArg';
14 plan 'skip_all' if ( $ENV{CATALYST_SERVER} );
16 plan tests => 3*$iters;
18 if ( $ENV{CAT_BENCHMARK} ) {
20 Benchmark::timethis( $iters, \&run_tests );
30 is(get('/foo/bar/baz'), 'Path', 'multiple args matched :Path');
31 is(get('/foo'), 'Path Args(1)', 'single arg matched :Path Args(1)');
32 is(get('/foo/bar'), 'Path Args(2)', 'two args matched :Path Args(2)');