On 12/12/2003, at 8:34 AM, Garrett Goebel wrote:

Nick Phillips wrote:
>
> Just wondering whether anyone here has any cunning ways of
> unit testing code that uses the various Apache:: modules;
> the only vaguely useful thing I've managed to find so far
> is Apache::FakeRequest, but that still leaves problems
> with code that uses Apache::Request, Apache::Cookie etc.
>
> Surely *someone* has done it before?...

http://perl.apache.org/docs/general/testing/testing.html

So far as I can see, that is all directed at testing by sending a request
to a server and checking what comes back; that's really not useful for
testing components of code individually, which is the point. I don't
want to test the server, I want to individually test each chunk of my code.



Cheers,



Nick


--
Nick Phillips / +64 3 479 4195 / [EMAIL PROTECTED]
# these statements are my own, not those of the University of Otago


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to