Christopher H. Laco wrote: > Christopher H. Laco wrote: > >> Unless there's some reason that TestMM is deliberatly ignoring the >> test=>TESTS option, I'll patch it this evening and send that to the list. >> >> -=Chris > > > Anoyher option, or something in addition to changing TestMM::test would > be to add a norecurse option to TestRun. If an option is added to > TestRun, can those be passed in using @ARGV and > Apache::TestMM::filter_args(); ?
I'm ok with that. the main reason we recurse is so you can do $ t/TEST t/Foo and get all the *.t files _directly_ under t/Foo without needing to be explicit. this works out well for the automagical foo we do, since we might have tests broken up by unit, such as t/response/TestServer and this behavior allows us to run all the server tests with one command. if we followed MakeMaker we'd need to add dozens of files to TEST_FILES over in the mod_perl-land to accomplish the same. sorry if the behavior was a surprise, though. however, nobody had complained yet :) additionally, note two things here... - only t/Foo/*.t files are run. if t/Foo/Bar is a directory t/Foo/Bar/*.t files are not run - prove behaves this way, so there are others that think this is a MakeMaker fault as well :) --Geoff