Re: Headers Sent Twice

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

> > 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

But not Build.PL (yet?) ;)

> 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.

IIRC, there's something in the Mason tests that requires us to stop and
start them, but I could be on crack.

Certainly, those tests are due for a _major_ overhaul, as it's quite a
mess in there.

> > 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.

Heh, just send me all your spare tuits.

Maybe I'll have a chance to play with it this summer in Taiwan.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/


-------------------------------------------------------
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.