httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Apache::TestRequest Doc Patch
Date Fri, 18 Jul 2003 08:37:02 GMT
David Wheeler wrote:
> On Tuesday, July 15, 2003, at 01:18  PM, Stas Bekman wrote:
>> It's trivial. If your webserver supports only the following methods: 
>> GET and HEAD, OPTIONS, but not POST. the request OPTIONS will return a 
>> response with a header Allow: OPTIONS GET HEAD
> Oh, I get it. See the enclosed patch, then.

Thanks David, committed with a few tweaks.

>> I guess I can take care of it. Just let me know which options are the 
>> most urgent that you need to work with.
> Most important to me are:
>     require Apache::TestMM;
>     require Apache::TestRunPerl;
>     Apache::TestMM->import(qw(test clean));
>     Apache::TestMM::filter_args();
>     Apache::TestRunPerl->generate_script();

Done. They will probably require more polishing...

> If there's an option to get the generated script to run the tests from 
> the distribution root instead of t/, that'd be great to know about. And 
> if there isn't, it should be documented that the tests will be run from 
> t/, and that this is different from how CPAN modules traditionally work 
> (only Perl itself runs tests from t/).

I thought I've answered this question already:

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

View raw message