Re: Headers Sent Twice

David Wheeler <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
On Jun 15, 2004, at 11:21 AM, Dave Rolsky wrote:

> [ moving this back onto the list ]

Oh, sorry, I thought I'd replied to the list, too.

> You know, the more I think about it, the more I'm convinced that
> Apache::Test is just going about things in a weird way.  Basically, it
> takes over a large chunk of your build/test flow and inserts its own 
> hooks
> into it, so it does things like starts a server when you start running
> tests (annoying).

You can control a lot of that from your Makefile.PL. And you can create 
your own t/TEST file to do what you want. Personally, I find starting 
the server when the tests start convenient; to test different things, I 
just use different <Location> directives in t/conf/extra.conf.in. It 
makes the tests more efficient, too, since the server starts up and 
shuts down only once.

> But what _I_ want is just a bunch of utility functions that let me 
> create
> config files, start & stop the server, send requests, etc.
>
> Maybe I'll have to write my own, or maybe I can use parts of 
> Apache::Test
> somehow, but I'll have to dig around more.

Yes, I'm sure you can; I suggest that you post any questions to 
[email protected]. Stas and Geoff can be a big help there.

Regards,

David



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.