prove -Iblib/lib -It/TestMods t/01-file-collector.t
####
t/01-file-collector.t .. # Running my tests
t/01-file-collector.t .. 1/13
# Failed test 'creates an object'
# at t/01-file-collector.t line 30.
# died: Test::Classifier is not a Role::Tiny at /home/andreas/Downloads/File-Collector-0.037/blib/lib/File/Collector.pm line 391.
# Failed test 'has files property'
# at t/01-file-collector.t line 34.
# Failed test 'has common_dir property'
# at t/01-file-collector.t line 38.
Can't call method "get_count" on unblessed reference at t/01-file-collector.t line 41.
# Looks like your test exited with 2 just after 4.
####
prove -Iblib/lib -It/TestMods -I. t/01-file-collector.t
####
# eval class code
foreach my $class ( @$classes ) {
eval "require $class";
}
####
my $obj = $class->new($s->{_files}{all},
\($s->{selected}),
$s->{_files}{"${cat}_files"}{_files});
return $obj;