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