Geoffrey Young wrote:

1. The documentation is pretty lacking.

As Geoff pointed out, this statement is incorrect. The document: http://perl.apache.org/docs/general/testing/testing.html 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
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to