The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package TestApp;

use strict;
use Catalyst;
use File::Path qw(make_path remove_tree);

our $VERSION = '0.01';

my $cache_root = 't/var';
remove_tree($cache_root);
make_path($cache_root);

TestApp->config(
    name => 'TestApp',
    counter => 0,
    'Plugin::Cache' => {
        backend => {
            class => 'Cache::FileCache',
            cache_root => $cache_root,
        },
    },
    'Plugin::PageCache' => {
        disable_index => 0,
    },
);

TestApp->setup( qw/Cache PageCache/ );

1;