in reply to Web testing without the web server.

There is the family of Test::WWW::Mechanize:: modules, like Test::WWW::Mechanize::Catalyst and Test::WWW::Mechanize::CGIApp, which launch your web application without any server and give you a Test::WWW::Mechanize object to run tests against that program.

  • Comment on Re: Web testing without the web server.

Replies are listed 'Best First'.
Re^2: Web testing without the web server.
by kyle (Abbot) on Mar 27, 2009 at 16:09 UTC

    Those are some really good testing tools (I say, not having used them much), but this is a lot like what I'm trying to avoid. Unless I'm missing something, these go through an entire request process with a given URL and then scrape the HTML that results. While it's important to get the HTML (view) right, I want to keep that separate from checking the functionality of the underlying controller (which is what interests me a lot more).