5 use lib "$FindBin::Bin/../lib";
9 BEGIN { $iters = $ENV{CAT_BENCH_ITERS} || 1; }
11 use Test::More tests => 2*$iters;
12 use Catalyst::Test 'TestAppPathBug';
14 if ( $ENV{CAT_BENCHMARK} ) {
16 Benchmark::timethis( $iters, \&run_tests );
27 if ( $ENV{CATALYST_SERVER} ) {
28 skip 'Using remote server', 2;
32 my $expected = 'This is the foo method.';
33 ok( my $response = request('http://localhost/'), 'response ok' );
34 is( $response->content, $expected, 'Content OK' );