Re: Howto unittest httpd modules?

2010-11-22 Thread Edgar Frank
2010/11/11 Sorin Manolache: >On Thu, Nov 11, 2010 at 08:11, Edgar Frank wrote: >> I've written a handful of modules for httpd. I'm now looking for a way to >> setup some unit tests. We have continuous integration running, so I want to >> supply some tests, starting from compiling against httpd t

Re: Howto unittest httpd modules?

2010-11-22 Thread Joshua Marantz
For mod_pagespeed we do 2 of the 3 testing modes discussed. We have the majority of our code running independent of Apache so it can be aggressively unit-tested with googletest . We also have automated

Re: Howto unittest httpd modules?

2010-11-22 Thread Peter Bosanko
Hi Edgar, You might consider the perl test harness -- Apache::Test on CPAN.org. mod_perl uses it. The test framework handles starting and stopping Apache, sending HTTP requests via WWW::Mechanize, and validating test results. It's full of features, and maybe more complex than you want. I like th