[cgiapp] Testing harness for non-CGI::App code

Michael Peters mpeters at plusthree.com
Wed Nov 26 09:12:24 EST 2008


Ron Savage wrote:

> Is Test::WWW::Mechanize the most appropriate harness for testing CGI
> (but not CGI::Application) code?

I love T::W::M (used with Test::HTML::Content). But why limit yourself to just normal CGI and not 
CGI::Application code? IMO it's not only important to test the C::A code, but also the environment 
you're running it in. If you run your tests just via the module but your application runs under 
Apache, then there will be bugs that your tests don't catch.

-- 
Michael Peters
Plus Three, LP



More information about the cgiapp mailing list