use strict;
use warnings;
-use Test::More tests => 10;
+use Test::More;
use Email::Send::Test;
use FindBin;
use lib "$FindBin::Bin/lib";
+eval "use Catalyst::View::TT";
+if ( $@ ) {
+ plan skip_all => 'Catalyst::View::TT required for Template tests';
+ exit;
+}
+plan tests => 10;
+
use_ok('Catalyst::Test', 'TestApp');
my $response;