httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: Perl test framework, TestConfig, and debugging A::T
Date Mon, 19 Jan 2004 19:57:58 GMT

>> now, Apache-Test gets tricky.  it _also_ makes sure that the server
>> response
>> gets funneled to Test::Harness if you use the plan $r, tests => 9 syntax

> I think this makes it sound trickier than it needs to; AIUI the feeding the
> results back to Test::Harness is nothing to do with what syntax you use in
> the response handler module

but it does - if plan recieves $r as a first argument, the response is tied
to STDOUT so that Test::Harness can read it.  if you didn't do that, prints
to STDOUT would end up being content sent to the client.

--Geoff


Mime
View raw message