Ovid wrote:
> I've just made it available at
> http://users.easystreet.com/ovid/cgi_course/downloads/grind.gz
>
> It needs more work, including allowing descending into directories (via
> File::Find or a similar mechanism) and having pre and post actions.
> I haven't figured out the best way to do the latter (that would be
> things like setting up a test db, tearing it down afterwards, etc.)

Thanks, I've started using it already. :-) Using your suggested google-fu
search technique, I noticed that, in addition to Test::Verbose (mentioned
by Adrian Howard), it may be worth keeping an eye on libwww-perl-5.69
(t/TEST) and mod_perl-1.28 (t/TEST.PL) since they perform a similar
function to your grind. Apache-Test-1.03 (used in modperl2) seems to have
evolved into something much more comprehensive; the old mod_perl1 TEST.PL
functionality seems to be superseded by Apache::TestHarness run() method.

All of the above seem to first chdir into the 't' directory, which I found
a bit odd because "make test" runs from the directory below that one.
And I imagine quite a few CPAN modules have tests that will fail if run
from the 't' directory. Or is writing a test that assumes you are in the
directory below the 't' directory considered bad style? (if so, I couldn't
find it mentioned in the docs).

/-\


http://search.yahoo.com.au - Yahoo! Search
- Looking for more? Try the new Yahoo! Search

Reply via email to