httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <>
Subject Re: Perl test framework, TestConfig, and debugging A::T
Date Fri, 16 Jan 2004 19:01:15 GMT

> Good point. Is the following correct:
>     plan tests => 5, have 'LWP', 'Crypt::SSLeay';

you can use have_lwp() to check for LWP support.  have_module() is handy too.

> OK. FYI, I didn't see anything about this in the docs. I looked at the
> t/ dir in Apache::Test and only see request.t and ping.t. The
> was basically empty. Which other test suites did you have
> in mind?

the mod_perl test suite, as well as a number of CPAN modules.  take a peek
at the Apache modules under

many of which have Apache-Test based tests.

> So in my case the TEST script that runs my tests is acting as the
> client? I'm not seeing how creating a response handler is going to make
> this work. Is the response handler setup in the or with a
> test?


I've only been following this thread half-heartedly, but a number of the
questions you raise make me wonder if you've really read the available
documentation for Apache-Test.

I wrote a rather simple article that tries to introduce it

which has links to other documentation at the end.  the example given in the
article covers both mp1 and mp2, and has links to sample tarballs, which you
might try using as a fresh starting point for your work.



View raw message