2 # FIXME: I have to do this because TestApp runs setup at compile time
3 # Perhaps it would be better to let the tests run setup?
10 our $VERSION = '0.01';
17 IncTestApp->config->{root},
20 'Plugin::Static::Simple' => {
22 IncTestApp->config->{root} . '/overlay',
27 IncTestApp->log( TestLog->new );
28 my @plugins = qw/Static::Simple/;
30 # load the SubRequest plugin if available
32 require Catalyst::Plugin::SubRequest;
33 die unless Catalyst::Plugin::SubRequest->VERSION ge '0.08';
35 push @plugins, 'SubRequest' unless ($@);
37 IncTestApp->setup( @plugins );
39 sub incpath_generator {
42 return [ $c->config->{root} . '/incpath' ];