One of us is confused here. These (100+) perl scripts aren't unit tests right?
If I'm correct keep reading.
Test::*
you mentioned aren't really what you're looking for.
Sounds to me like you just need a main.pl
, or a .bat
, to run each test.pl
.
So it seems you're on the right path. If it's possible to have all tests in the same directory, you can do something like this.
my $tests_directory = "/some/path/test_dir";
opendir my $dh, $tests_directory or die"$!";
my @tests = grep { $_ !~ /^\./{1,2}$/ } readdir $dh;
for my $test (@tests) {
system('perl', $test);
}