docs
[catagits/Catalyst-Runtime.git] / t / aggregate.t
1 use strict;
2 use warnings;
3
4 use FindBin;
5 use lib "$FindBin::Bin/lib";
6 use File::Spec::Functions 'catfile', 'updir';
7
8 BEGIN {
9     unless (-e catfile $FindBin::Bin, updir, '.aggregating') {
10         require Test::More;
11         Test::More::plan(skip_all => 'No test aggregation requested');
12     }
13 }
14
15 BEGIN {
16     unless (eval { require Test::Aggregate; Test::Aggregate->VERSION('0.364'); 1 }) {
17         require Test::More;
18         Test::More::plan(skip_all => 'Test::Aggregate 0.364 required for test aggregation');
19     }
20 }
21
22 my $tests = Test::Aggregate->new({
23     (@ARGV ? (tests => \@ARGV) : (dirs => 't/aggregate')),
24     verbose       => 0,
25     set_filenames => 1,
26     findbin       => 1,
27 });
28
29 $tests->run;