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