httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Perl Testing
Date Wed, 18 Jun 2003 00:02:19 GMT
Geoffrey Young wrote:
>> 1. The documentation is pretty lacking.

As Geoff pointed out, this statement is incorrect. The document:
should answer most of your questions.

 > 2. The tests are being run from t/, rather then from the root of the
 > module distribution directory. IIRC, Perl itself runs all of its tests
 > from t/, but all modules by default run them from the module
 > distribution root. Can this be fixed/changed?

They aren't running from t/, unless you run them from there. t/TEST can run 
from t/ and from base.

Look at how mod_perl does that.

BTW, autogeneration of t/TEST is only useful if you don't want any 
customizations. If you do, create t/TEST.PL, like modperl-2.0 does.

Another examples on CPAN are Apache::Peek and Apache::Clean.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message