Subject: | Enable test files to have arguments |
I'm in a situation where I need to do the following:
my @tests;
#...
push @tests, "test_bundle.t 105";
push @tests, "test_bundle.t 106";
#... etc.
runtests(@tests);
Because there is no literal file "test_bundle.t 105", this dies.
The problem seems to be that Straps::analyze_file($test) simply tests for '-e $test' and '-r $test'.
It would be great if it could parse up the $test before doing these tests. If not by default, then perhaps some configurable instance variable could control this, with the current behavior as default.