On Tue Oct 10 06:59:39 2006, WMCKEE wrote:
Show quoted text> Geoff/Chris,
>
> In trying to implement PHP testing, I noticed that the TestConfigPHP
> module does not support sub directories within the t/response/Test*
> dirs. The TestConfigPerl package does which is why I was expecting that
> behavior.
Is this issue still valid? I just took a look at the php config code:
sub configure_php_tests_pick {
my($self, $entries) = @_;
for my $subdir (qw(Response)) {
my $dir = catfile $self->{vars}->{t_dir}, lc $subdir;
next unless -d $dir;
finddepth(sub {
return unless /\.php$/;
my $file = catfile $File::Find::dir, $_;
my $module = abs2rel $file, $dir;
my $status = $self->run_apache_test_config_scan($file);
push @$entries, [$file, $module, $subdir, $status];
}, $dir);
}
}
Does that do what you are asking for?